mx4j.tools.adaptor.interceptor

Class ContextClassLoaderAdaptorInterceptor

Implemented Interfaces:
AdaptorInterceptorMBean, Interceptor, Invocable

public class ContextClassLoaderAdaptorInterceptor
extends AdaptorInterceptor

The interceptor that sets the context classloader for incoming calls

Version:
$Revision: 1.3 $

Method Summary

String
getType()
Returns the type of this interceptor
boolean
isEnabled()
This interceptor is always enabled
protected void
postInvoke(Invocation invocation)
protected void
preInvoke(Invocation invocation)
void
setEnabled(boolean value)
Cannot change the status of this attribute, this interceptor is always enabled
void
setMBeanServer(javax.management.MBeanServer server)

Methods inherited from class mx4j.tools.adaptor.interceptor.AdaptorInterceptor

doInvoke, getLogger, getMBeanServer, getNext, getObjectName, getType, invoke, isEnabled, postInvoke, preInvoke, setEnabled, setMBeanServer, setNext, setObjectName, toString

Method Details

getType

public String getType()
Returns the type of this interceptor
Specified by:
getType in interface Interceptor
getType in interface AdaptorInterceptorMBean
Overrides:
getType in interface AdaptorInterceptor


isEnabled

public boolean isEnabled()
This interceptor is always enabled
Specified by:
isEnabled in interface AdaptorInterceptorMBean
Overrides:
isEnabled in interface AdaptorInterceptor


postInvoke

protected void postInvoke(Invocation invocation)
            throws Exception
Overrides:
postInvoke in interface AdaptorInterceptor


preInvoke

protected void preInvoke(Invocation invocation)
            throws Exception
Overrides:
preInvoke in interface AdaptorInterceptor


setEnabled

public void setEnabled(boolean value)
Cannot change the status of this attribute, this interceptor is always enabled
Specified by:
setEnabled in interface AdaptorInterceptorMBean
Overrides:
setEnabled in interface AdaptorInterceptor


setMBeanServer

public void setMBeanServer(javax.management.MBeanServer server)
Overrides:
setMBeanServer in interface AdaptorInterceptor


Copyright © 2001-2003 MX4J Team. All Rights Reserved.