|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the methods that must be implemented by a object that
provides entity references.
This interface extends Remote to provide RMI support. In this way is easy to
implement a reference remote locator.
Security must be implemented in all classes that use this interface.
The method getEntityReference(String) has not parameters to identify
the user to avoid that all application components need to know this values.
SecureEntityReferenceLocator| Method Summary | |
void |
endSession(int id)
This method finishes a client session. |
Entity |
getEntityReference(java.lang.String entityName)
This method gets an entity reference. |
int |
getSessionId()
Method to know the client session identifier. |
int |
startSession(java.lang.String user,
java.lang.String password,
ClientWatch client)
Method to start a client session. |
| Method Detail |
public int startSession(java.lang.String user,
java.lang.String password,
ClientWatch client)
throws java.lang.Exception
user - User namepassword - User passwordclient - Object to checks if this session is open
java.lang.Exception
public Entity getEntityReference(java.lang.String entityName)
throws java.lang.Exception
entityName - Entity name
java.lang.Exception
public int getSessionId()
throws java.lang.Exception
java.lang.Exception
public void endSession(int id)
throws java.lang.Exception
id - Client session identifier
java.lang.Exception
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||