test.implementation.interceptor.support
Class MySharedInterceptor

java.lang.Object
  extended by org.jboss.mx.interceptor.AbstractInterceptor
      extended by org.jboss.mx.interceptor.AbstractSharedInterceptor
          extended by test.implementation.interceptor.support.MySharedInterceptor
All Implemented Interfaces:
MBeanRegistration, Interceptor, SharedInterceptor

public class MySharedInterceptor
extends AbstractSharedInterceptor

Version:
$Revision: 81022 $
Author:
Juha Lindfors.

Field Summary
 boolean isDestroy
           
 boolean isInit
           
 boolean isStart
           
 boolean isStop
           
 
Fields inherited from class org.jboss.mx.interceptor.AbstractSharedInterceptor
objectName, server
 
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor
isShared, log, name
 
Constructor Summary
MySharedInterceptor()
           
 
Method Summary
 void destroy()
           
 void init()
           
 Object invoke(Invocation i)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.jboss.mx.interceptor.AbstractSharedInterceptor
createObjectName, getMBeanServer, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setName, toString
 
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor
getName, isShared, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.mx.interceptor.Interceptor
getName, isShared, setLogger
 

Field Detail

isInit

public boolean isInit

isStart

public boolean isStart

isStop

public boolean isStop

isDestroy

public boolean isDestroy
Constructor Detail

MySharedInterceptor

public MySharedInterceptor()
Method Detail

invoke

public Object invoke(Invocation i)
              throws Throwable
Specified by:
invoke in interface Interceptor
Overrides:
invoke in class AbstractInterceptor
Throws:
Throwable

init

public void init()
          throws Exception
Specified by:
init in interface Interceptor
Overrides:
init in class AbstractSharedInterceptor
Throws:
Exception

start

public void start()
Specified by:
start in interface Interceptor
Overrides:
start in class AbstractSharedInterceptor

stop

public void stop()
          throws Exception
Specified by:
stop in interface Interceptor
Overrides:
stop in class AbstractSharedInterceptor
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface Interceptor
Overrides:
destroy in class AbstractSharedInterceptor


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