站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

HASingletonInvokerMBean.Callback - JBOSS Portal 2.4 API 英文版文档


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

public 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

public void startSingleton()
Start the singleton.


stopSingleton

public void stopSingleton()
Stop the singleton.


invoke

public 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

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