|
Invocation API 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.invocation.MethodInterceptorFactory
public final class MethodInterceptorFactory
An interceptor factory for interceptor objects which call a specific method via reflection. If this factory is called more than once in the same context, it will return the same interceptor instance.
| Constructor Summary | |
|---|---|
MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory,
Method interceptorMethod)
Construct a new instance. |
|
MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory,
Method interceptorMethod,
boolean changeMethod)
Construct a new instance. |
|
| Method Summary | |
|---|---|
Interceptor |
create(InterceptorFactoryContext context)
Create the interceptor instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory,
Method interceptorMethod,
boolean changeMethod)
instanceFactory - the instance factory for the interceptor instanceinterceptorMethod - the interceptor methodchangeMethod - true to change the method on the context to equal the given method, false to leave it as-is
public MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory,
Method interceptorMethod)
instanceFactory - the instance factory for the interceptor instanceinterceptorMethod - the interceptor method| Method Detail |
|---|
public Interceptor create(InterceptorFactoryContext context)
create in interface InterceptorFactorycontext - the interceptor factory context
|
Invocation API 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||