The
net.sf.tie.internal
package cntains classes that are internal
and private to
Tie, but cannot be made package private.
NoOpInterceptor - Class in net.sf.tie.ext.interceptorThe NoOpInterceptor
simply allows the invocation to proceed without doing anything.NoOpInterceptor() -
Constructor for class net.sf.tie.ext.interceptor.NoOpInterceptor
NotInstanceOfRule - Class in net.sf.tie.ext.typeInterceptionRule
that tests whether the object to be intercepted is not an instance of a specified
class or interface.NotInstanceOfRule(Class<?>) -
Constructor for class net.sf.tie.ext.type.NotInstanceOfRule
NotRule - Class in net.sf.tie.ext.ruleInverts an InterceptionRule
NotRule(InterceptionRule) -
Constructor for class net.sf.tie.ext.rule.NotRule
NullInterface - Interface in net.sf.tie.ext.utilThis utility interface exists to allow values of type Object
to be
proxied as interfaces.
O
- ObjectInterceptionStrategy - Enum in net.sf.tie.ext.rule
- Describes the strategy for how a given object should be intercepted.
- OrRule - Class in net.sf.tie.ext.rule
- Forms a logical "or" of two other
InterceptionRule
implementations - OrRule(InterceptionRule, InterceptionRule) -
Constructor for class net.sf.tie.ext.rule.OrRule
-
P
- ProxyInjector - Class in net.sf.tie
- An implementation of
InterceptionInjector
that uses Java dynamic proxies (Proxy
). - ProxyInjector(MethodInterceptorStack) -
Constructor for class net.sf.tie.ProxyInjector
-
R
- removeFromCache(Object) -
Method in class net.sf.tie.ext.CachingInjector
-
- ReturnTypeRule - Class in net.sf.tie.ext.type
InterceptionRule
that tests whether the method to be intercepted returns a specified
class or interface.- ReturnTypeRule() -
Constructor for class net.sf.tie.ext.type.ReturnTypeRule
-
S
- ServiceRegistry - Interface in net.sf.tie.ext.registry
-
- setBeanFactory(BeanFactory) -
Method in class net.sf.tie.ext.spring.InterceptorList
-
- setBeanName(String) -
Method in class net.sf.tie.ext.spring.InterceptorList
-
- setCachingEnabled(boolean) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- setDependencyCheck(boolean) -
Method in class net.sf.tie.ext.spring.InterceptorList
-
- setEndPoint(Object) -
Method in class net.sf.tie.ext.spring.TieFactoryBean
-
- setInjector(InterceptionInjector) -
Method in class net.sf.tie.ext.interceptor.WrapReturnValueInterceptor
-
- setInjector(InterceptionInjector) -
Method in class net.sf.tie.ext.spring.TieFactoryBean
-
- setInterceptionStack(MethodInterceptorStack) -
Method in class net.sf.tie.ext.spring.TieFactoryBean
-
- setInterceptors(List) -
Method in class net.sf.tie.ext.spring.InterceptorList
-
- setInterface(Class) -
Method in class net.sf.tie.ext.spring.TieFactoryBean
-
- setInterfaceName(String) -
Method in class net.sf.tie.ext.spring.TieFactoryBean
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.annotation.AnnotationNotPresentRule
- Inspects
interfc
and target
and determines the correct ObjectInterceptionStrategy
to use
based on the presence (or otherwise) of the specific annotation
.
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.annotation.AnnotationNotPresentRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.annotation.AnnotationPresentRule
- Inspects
interfc
and target
and determines the correct ObjectInterceptionStrategy
to use
based on the presence (or otherwise) of the specific annotation
.
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.annotation.AnnotationPresentRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.AndRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.AndRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.CachingRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.CachingRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in interface net.sf.tie.ext.rule.InterceptionRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in interface net.sf.tie.ext.rule.InterceptionRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.NotRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.NotRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.OrRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.rule.OrRule
-
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.type.InstanceOfRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.type.InstanceOfRule
- In theory, this method should never be called as
InstanceOfRule.shouldIntercept(Class, Object, MethodInterceptor)
never returns ObjectInterceptionStrategy.INTERCEPT_SOME_METHODS_ON_OBJECT
(or similar).
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.type.NotInstanceOfRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.type.NotInstanceOfRule
- In theory, this method should never be called as
NotInstanceOfRule.shouldIntercept(Class, Object, MethodInterceptor)
never returns ObjectInterceptionStrategy.INTERCEPT_SOME_METHODS_ON_OBJECT
(or similar).
- shouldIntercept(Class<T>, T, MethodInterceptor) -
Method in class net.sf.tie.ext.type.ReturnTypeRule
-
- shouldIntercept(WrappedMethodInvocation, MethodInterceptor) -
Method in class net.sf.tie.ext.type.ReturnTypeRule
-
- SimpleInterceptorFactory - Class in net.sf.tie.ext.factory
- The
SimpleInterceptorFactory
adapts a pre-constructed MethodInterceptor
to be an InterceptorFactory
. - SimpleInterceptorFactory(MethodInterceptor) -
Constructor for class net.sf.tie.ext.factory.SimpleInterceptorFactory
-
- singleton(MethodInterceptor) -
Static method in class net.sf.tie.InterceptorStack
- Creates a stack containing a single
MethodInterceptor
.
The returned stack is implemented such that the
MethodInterceptorStack.getInterceptors(Class, Object)
method
will always return the single interceptor, interceptor
.
- stack(Iterable<MethodInterceptor>) -
Static method in class net.sf.tie.InterceptorStack
- Creates a stack containing a collection of
MethodInterceptor
objects.
The returned stack is implemented such that the
MethodInterceptorStack.getInterceptors(Class, Object)
method
will always return stack
.
- SynchronizedInterceptor - Class in net.sf.tie.ext.interceptor
- The
SynchronizedInterceptor
applies a synchronization block (using a provided "lock" object) around each method invocation. - SynchronizedInterceptor(Object) -
Constructor for class net.sf.tie.ext.interceptor.SynchronizedInterceptor
-
T
- TieBeanDefinition<T> - Class in net.sf.tie.ext.spring
- A
BeanDefinition
that is specifically used to configure a TieFactoryBean
into a spring BeanFactory
. - TieBeanDefinition(MethodInterceptorStack, Class<T>, T) -
Constructor for class net.sf.tie.ext.spring.TieBeanDefinition
-
- TieBeanDefinition(ProxyInjector, Class<T>, T) -
Constructor for class net.sf.tie.ext.spring.TieBeanDefinition
-
- TieFactoryBean - Class in net.sf.tie.ext.spring
- An immplementation of the spring class
FactoryBean
to support using a tie MethodInterceptorStack
to proxy
another class into a spring BeanFactory
. - TieFactoryBean() -
Constructor for class net.sf.tie.ext.spring.TieFactoryBean
-
V
- valueOf(String) -
Static method in enum net.sf.tie.ext.rule.MethodInterceptionStrategy
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum net.sf.tie.ext.rule.ObjectInterceptionStrategy
- Returns the enum constant of this type with the specified name.
- values() -
Static method in enum net.sf.tie.ext.rule.MethodInterceptionStrategy
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum net.sf.tie.ext.rule.ObjectInterceptionStrategy
- Returns an array containing the constants of this enum type, in
the order they're declared.
W
- whenBoth(InterceptionRule, InterceptionRule, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenEither(InterceptionRule, InterceptionRule, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenInstanceOf(Class<?>, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenNotInstanceOf(Class<?>, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenNotPresent(Class<? extends Annotation>, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenPresent(Class<? extends Annotation>, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenRuleDoesntMatch(InterceptionRule, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- whenRuleMatches(InterceptionRule, MethodInterceptor) -
Method in class net.sf.tie.ext.InterceptionBuilder
-
- wrapObject(Class<T>, T) -
Method in class net.sf.tie.ext.CachingInjector
-
- wrapObject(Class<T>, T) -
Method in interface net.sf.tie.InterceptionInjector
- Wraps the designated object
endPoint
in any preconfigured MethodInterceptors
.
- wrapObject(Class<T>, T) -
Method in class net.sf.tie.ProxyInjector
-
- WrappedMethodInvocation - Interface in net.sf.tie
- Extends the AOP Alliance's
MethodInvocation
interface with the concept of a method implementation. - WrapReturnValueInterceptor - Class in net.sf.tie.ext.interceptor
- This
MethodInterceptor
will use a supplied InterceptionInjector
to
wrap
any compatible return value with
an interceptor stack. - WrapReturnValueInterceptor() -
Constructor for class net.sf.tie.ext.interceptor.WrapReturnValueInterceptor
- If this constructor is used (in preference to
WrapReturnValueInterceptor.WrapReturnValueInterceptor(InterceptionInjector)
)
then the WrapReturnValueInterceptor.setInjector(net.sf.tie.InterceptionInjector)
method must be callled prior to the first invocation
.
- WrapReturnValueInterceptor(InterceptionInjector) -
Constructor for class net.sf.tie.ext.interceptor.WrapReturnValueInterceptor
-
A B C D E F G I M N O P R S T V W