|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
Use on RMI client to access server services.
Method Summary | |
---|---|
void |
commit()
Commit the current transaction. |
java.lang.Object |
execute(java.lang.Object obj,
java.lang.String method,
java.lang.Object[] args)
Execute a method on the server via reflection. |
RemoteDMS |
getDMS()
Get a DMS service. |
RemoteOrgData |
getOrgData()
Get a OrgData service. |
java.rmi.Remote |
getService(java.lang.String classname)
This method returns a service interface to the client. |
RemoteStore |
getStore()
Get a store service. |
User |
getUser()
Get the current user. |
RemoteWfEngine |
getWfEngine()
Get a WfEngine service |
void |
logout()
Terminate the session. |
void |
rollback()
Rollback the current transaction. |
Method Detail |
---|
void commit() throws java.lang.Exception
java.lang.Exception
void rollback() throws java.lang.Exception
java.lang.Exception
void logout() throws java.lang.Exception
java.lang.Exception
RemoteStore getStore() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteDMS getDMS() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteWfEngine getWfEngine() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteOrgData getOrgData() throws java.rmi.RemoteException
java.rmi.RemoteException
User getUser() throws java.rmi.RemoteException
java.rmi.RemoteException
java.rmi.Remote getService(java.lang.String classname) throws java.lang.Exception
java.lang.Exception
java.lang.Object execute(java.lang.Object obj, java.lang.String method, java.lang.Object[] args) throws java.lang.Exception
obj
- the target objectmethod
- the name of the methodargs
- the arguments for the method call
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |