|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDirectServer
The IDirectServer interface defines a way to handle callbacks direct without
callback-ID mapping. It's an extension of IServer because an IServer implementation
is usable via EJB. This extension is only needed if the server and the client runs in the
same VM.
| Method Summary | |
|---|---|
void |
executeActionCallBack(Object pSessionId,
ICallBackListener pCallBackListener,
String pAction,
Object... pParams)
Executes an asynchronous action call. |
void |
executeCallBack(Object pSessionId,
ICallBackListener pCallBackListener,
String pObjectName,
String pMethod,
Object... pParams)
Executes an asynchronous method call. |
| Methods inherited from interface javax.rad.server.IServer |
|---|
createSession, createSubSession, destroySession, execute, executeAction, executeActionCallBack, executeCallBack, getCallBackResults, getObjectProvider, getProperties, getProperty, getSessionManager, setAndCheckAlive, setNewPassword, setProperty |
| Method Detail |
|---|
void executeCallBack(Object pSessionId,
ICallBackListener pCallBackListener,
String pObjectName,
String pMethod,
Object... pParams)
throws Throwable
pSessionId - session identifierpCallBackListener - the callback listenerpObjectName - server object name/aliaspMethod - method name which should be calledpParams - parameters for the method call
Throwable - if an error occurs during execution
void executeActionCallBack(Object pSessionId,
ICallBackListener pCallBackListener,
String pAction,
Object... pParams)
throws Throwable
pSessionId - session identifierpCallBackListener - the callback listenerpAction - action which should be calledpParams - parameters for the action call
Throwable - if an error occurs during execution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||