|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISessionFactory
This interface describe extends methods of base class
| Method Summary | ||
|---|---|---|
IAppSessionFactory |
getAppSessionFactory(java.lang.Class<? extends AppSession> sessionClass)
Retrieves the app session factory associated with an app session class |
|
IContainer |
getContainer()
|
|
|
getNewAppSession(java.lang.String sessionId,
ApplicationId applicationId,
java.lang.Class<? extends AppSession> aClass,
java.lang.Object... args)
Method used for creating a new App Session using the specified class with the desired Application Id and Session Id. |
|
void |
registerAppFacory(java.lang.Class<? extends AppSession> sessionClass,
IAppSessionFactory factory)
Registers a new App Session factory. |
|
void |
unRegisterAppFacory(java.lang.Class<? extends AppSession> sessionClass)
Unregisters an existing App Session factory. |
|
| Methods inherited from interface org.jdiameter.api.SessionFactory |
|---|
getNewAppSession, getNewAppSession, getNewRawSession, getNewSession, getNewSession, getSessionId, getSessionId |
| Method Detail |
|---|
<T extends AppSession> T getNewAppSession(java.lang.String sessionId,
ApplicationId applicationId,
java.lang.Class<? extends AppSession> aClass,
java.lang.Object... args)
throws InternalException
sessionId - the session-id for this App Session, if desiredapplicationId - the application id for this sessionaClass - the class of the app session objectargs -
InternalException
void registerAppFacory(java.lang.Class<? extends AppSession> sessionClass,
IAppSessionFactory factory)
sessionClass - the class of the objects being generated by the factoryfactory - the factory to generate app sessionsvoid unRegisterAppFacory(java.lang.Class<? extends AppSession> sessionClass)
sessionClass - the class identifier for this factoryIAppSessionFactory getAppSessionFactory(java.lang.Class<? extends AppSession> sessionClass)
sessionClass - the class identifier for the desired factory
IContainer getContainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||