|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.interceptor.AbstractInterceptor
org.jboss.mx.interceptor.PersistenceInterceptor
A peristence interceptor that uses the java.util.Timer framework for the scheculed peristence policies.
PersistentMBean
Field Summary |
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor |
isShared, log, name |
Fields inherited from interface org.jboss.mx.service.ServiceConstants |
JBOSSMX_DOMAIN, JBOSSMX_XMBEAN_DTD_1_0, JBOSSMX_XMBEAN_DTD_1_1, MBEAN_LOADER_DTD_1_0, PERSISTENCE_TIMER, PUBLIC_JBOSSMX_XMBEAN_DTD_1_0, PUBLIC_JBOSSMX_XMBEAN_DTD_1_1, XMBEAN_DTD |
Constructor Summary | |
PersistenceInterceptor()
|
Method Summary | |
Object |
invoke(Invocation invocation)
The default invoke implementation queries the invocation object for the next interceptor in the chain. |
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor |
destroy, getName, init, isShared, setLogger, setName, start, stop, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PersistenceInterceptor()
Method Detail |
public Object invoke(Invocation invocation) throws InvocationException
AbstractInterceptor
Concrete implementations should override this method to implement their specific application logic.
invoke
in interface Interceptor
invoke
in class AbstractInterceptor
invocation
- the invocation object send towards the target
resource by the invoker
InvocationException
- This exception wraps any exceptions thrown
by either the target method of the resource object, or invocation
interceptors in this interceptor chain. The target exception is
unwrapped at the MBeanInvoker
instance.Invocation
,
MBeanInvoker
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |