| org.jboss.deployment.SubDeployerInterceptor
SubDeployerInterceptor | abstract public class SubDeployerInterceptor extends AbstractInterceptor (Code) | | Base class for SubDeployer interceptors.
Override one or more of the init(), create(), start(), stop(), destroy()
methods to add behaviour. Don't forget to call invokeNext() inside
your implementation, if you want the call to be continued.
author: Dimitris Andreadis version: $Revision: 57205 $ |
Method Summary | |
protected Object | create(Invocation invocation, DeploymentInfo di) | protected Object | destroy(Invocation invocation, DeploymentInfo di) | protected Object | init(Invocation invocation, DeploymentInfo di) | public Object | invoke(Invocation invocation) This invoke method checks for invocations of interest, .i.e.
init(), create(), start(), stop(), destroy() operation calls
with a single DeploymentInfo argument and wraps the invocation
with calls to corresponding init(), create(), etc. | protected Object | invokeNext(Invocation invocation) | protected Object | start(Invocation invocation, DeploymentInfo di) | protected Object | stop(Invocation invocation, DeploymentInfo di) |
SubDeployerInterceptor | public SubDeployerInterceptor()(Code) | | Default CTOR
|
SubDeployerInterceptor | public SubDeployerInterceptor(String name)(Code) | | CTOR
Parameters: name - - the name to use for this interceptor |
invoke | public Object invoke(Invocation invocation) throws Throwable(Code) | | This invoke method checks for invocations of interest, .i.e.
init(), create(), start(), stop(), destroy() operation calls
with a single DeploymentInfo argument and wraps the invocation
with calls to corresponding init(), create(), etc. methods.
|
invokeNext | protected Object invokeNext(Invocation invocation) throws Throwable(Code) | | Use this to forward the call
|
|
|