org.jboss.portal.jems.ha
Interface HASingletonInvokerMBean.Callback

All Known Implementing Classes:
HAJCRCMS
Enclosing interface:
HASingletonInvokerMBean

public static interface HASingletonInvokerMBean.Callback

Contract layer that defines the interactions between the service and the ha invoker.


Method Summary
 java.lang.String getDisplayName()
          Provide a simple display name for logging purpose.
 java.lang.Object invoke(java.lang.String methodName, java.lang.Class[] types, java.lang.Object[] args)
          Invocation callback
 void setInvoker(HASingletonInvoker invoker)
          Set the invoker on the client, if the invoker is not null then the invoker is available otherwise if it is null then the invoker is not available.
 void startSingleton()
          Start the singleton.
 void stopSingleton()
          Stop the singleton.
 

Method Detail

setInvoker

void setInvoker(HASingletonInvoker invoker)
Set the invoker on the client, if the invoker is not null then the invoker is available otherwise if it is null then the invoker is not available.


startSingleton

void startSingleton()
Start the singleton.


stopSingleton

void stopSingleton()
Stop the singleton.


invoke

java.lang.Object invoke(java.lang.String methodName,
                        java.lang.Class[] types,
                        java.lang.Object[] args)
                        throws java.lang.Exception
Invocation callback

Throws:
java.lang.Exception

getDisplayName

java.lang.String getDisplayName()
Provide a simple display name for logging purpose.