|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.remoting.samples.chat.server.ChatManager
| Field Summary | |
protected static org.jboss.logging.Logger |
log
|
| Constructor Summary | |
ChatManager()
|
|
| Method Summary | |
void |
addListener(InvokerCallbackHandler callbackHandler)
Adds a callback handler that will listen for callbacks from the server invoker handler. |
protected InvokerLocator |
createChat(java.lang.Object[] args)
|
protected void |
initialize()
|
java.lang.Object |
invoke(InvocationRequest invocation)
called to handle a specific invocation. |
protected void |
join(java.lang.Object[] args)
|
protected void |
leave(java.lang.Object[] args)
|
protected java.util.ArrayList |
list(java.lang.Object[] args)
|
void |
removeListener(InvokerCallbackHandler callbackHandler)
Removes the callback handler that was listening for callbacks from the server invoker handler. |
void |
setInvoker(ServerInvoker invoker)
set the invoker that owns this handler |
void |
setMBeanServer(javax.management.MBeanServer server)
set the mbean server that the handler can reference |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final org.jboss.logging.Logger log
| Constructor Detail |
public ChatManager()
| Method Detail |
protected void initialize()
throws InitializeException
InitializeExceptionpublic void shutdown()
public java.lang.Object invoke(InvocationRequest invocation)
throws java.lang.Throwable
ServerInvocationHandler
invoke in interface ServerInvocationHandlerinvocation -
java.lang.Throwable
protected java.util.ArrayList list(java.lang.Object[] args)
throws RemoteConnectionException,
ShuttingDownException
RemoteConnectionException
ShuttingDownException
protected InvokerLocator createChat(java.lang.Object[] args)
throws java.lang.Exception
java.lang.Exception
protected void join(java.lang.Object[] args)
throws NameInUseException,
ShuttingDownException
NameInUseException
ShuttingDownException
protected void leave(java.lang.Object[] args)
throws ShuttingDownException
ShuttingDownExceptionpublic void setMBeanServer(javax.management.MBeanServer server)
ServerInvocationHandler
setMBeanServer in interface ServerInvocationHandlerserver - public void setInvoker(ServerInvoker invoker)
ServerInvocationHandler
setInvoker in interface ServerInvocationHandlerinvoker - public void addListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
addListener in interface ServerInvocationHandlercallbackHandler - public void removeListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
removeListener in interface ServerInvocationHandlercallbackHandler -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||