public final class MethodInterceptorFactory extends Object implements InterceptorFactory
Constructor and Description |
---|
MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory,
Method interceptorMethod)
Construct a new instance.
|
MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory,
Method interceptorMethod,
boolean changeMethod)
Construct a new instance.
|
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-ispublic MethodInterceptorFactory(InterceptorInstanceFactory instanceFactory, Method interceptorMethod)
instanceFactory
- the instance factory for the interceptor instanceinterceptorMethod
- the interceptor methodpublic Interceptor create(InterceptorFactoryContext context)
create
in interface InterceptorFactory
context
- the interceptor factory contextCopyright © 2012 JBoss by Red Hat. All Rights Reserved.