|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.ServerInvokerCallbackHandler
Responsible for all callbacks in remoting at invoker level (on the server side).
Field Summary | |
static String |
CALLBACK_MEM_CEILING
The map key to use when looking up the percentage of free memory available before tiggering persistence. |
static String |
CALLBACK_STORE_KEY
The map key to use when looking up any callback store that should be used. |
Constructor Summary | |
ServerInvokerCallbackHandler(InvocationRequest invocation,
InvokerLocator serverLocator,
ServerInvoker owner)
|
Method Summary | |
void |
destroy()
This method is required to be called upon removing a callback listener so can clean up resources used by the handler. |
Client |
getCallbackClient()
|
List |
getCallbacks()
|
String |
getId()
Returns an id that can be used to identify this particular callback handler, which should be representative of the client invoker it will make callbacks to. |
static String |
getId(InvocationRequest invocation)
Returns an id that can be used to identify this particular callback handler, which should be representative of the client invoker it will make callbacks to. |
Double |
getMemPercentCeiling()
|
void |
handleCallback(InvocationRequest callback)
Will take the callback message and send back to client. |
boolean |
isPullCallbackHandler()
|
void |
setMemPercentCeiling(Double ceiling)
|
String |
toString()
Returns the id for this handler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String CALLBACK_STORE_KEY
public static final String CALLBACK_MEM_CEILING
Constructor Detail |
public ServerInvokerCallbackHandler(InvocationRequest invocation, InvokerLocator serverLocator, ServerInvoker owner) throws Exception
Method Detail |
public void setMemPercentCeiling(Double ceiling)
public Double getMemPercentCeiling()
public Client getCallbackClient()
public static String getId(InvocationRequest invocation)
public String getId()
public List getCallbacks()
public boolean isPullCallbackHandler()
public void handleCallback(InvocationRequest callback) throws HandleCallbackException
handleCallback
in interface InvokerCallbackHandler
callback
-
HandleCallbackException
public String toString()
public void destroy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |