Invocation API 1.1.0.Final

org.jboss.invocation
Class MethodInvokingInterceptorFactory

java.lang.Object
  extended by org.jboss.invocation.MethodInvokingInterceptorFactory
All Implemented Interfaces:
InterceptorFactory

public final class MethodInvokingInterceptorFactory
extends Object
implements InterceptorFactory

A factory for method invoking interceptors.

Author:
David M. Lloyd

Constructor Summary
MethodInvokingInterceptorFactory(InterceptorInstanceFactory instanceFactory, Method method)
          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

MethodInvokingInterceptorFactory

public MethodInvokingInterceptorFactory(InterceptorInstanceFactory instanceFactory,
                                        Method method)
Construct a new instance.

Parameters:
instanceFactory - the instance factory
method - the method to invoke
Method Detail

create

public Interceptor create(InterceptorFactoryContext context)
Create the interceptor instance.

Specified by:
create in interface InterceptorFactory
Parameters:
context - the interceptor factory context
Returns:
the interceptor instance

Invocation API 1.1.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.