public interface AoFactoryIF extends AoFactory
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContextByName(java.lang.String varName)
Get a context variable by its name from the factory.
|
java.lang.String[] |
getInfoList(java.lang.String varName)
Get the value of a context variable.
|
SessionCheckInterface |
getSessionClass(java.lang.String sessionClassName,
java.lang.String classOptions)
Get the class to check session on newSession, close session of will Close session
|
void |
log(java.lang.String msg)
Log the message in the athos log file.
|
void |
nativeSetInfo(java.lang.String varName,
java.lang.String value) |
void |
nativeUpdateInfo(java.lang.String varName,
java.lang.String value) |
AoSession |
newlocalSession(java.lang.String auth)
Establish a new session to an ASAM ODS server and returns the session as local object.
|
AoSession |
newLocalSessionNameValue(NameValue[] auth)
Establish a new session to an ASAM ODS server and returns the session as local object.
|
void |
setInfo(java.lang.String varName,
java.lang.String value)
Set the value of a context variable.
|
void |
setLdapClassName(java.lang.String ldapClassName,
java.lang.String classOptions)
Set the class name of the class to check authentication
of the newSession with an LDAP Service.
|
void |
setSessionClassName(java.lang.String sessionClassName,
java.lang.String classOptions,
boolean newSession)
Set the class name of the class to check the session for newSession or close of the session.
|
void |
setSessionNotificationEventManager(SessionNotificationEventManager sessionNotificationEventManager)
Passes the instance of the SessionNotificationEventManager for session notification support
|
void |
updateInfo(java.lang.String varName,
java.lang.String value)
Update the value of a context variable.
|
getDescription, getInterfaceVersion, getName, getType, newSession, newSessionNameValuevoid setLdapClassName(java.lang.String ldapClassName,
java.lang.String classOptions)
ldapClassName - name of the classclassOptions - options of the class given to the constructorSessionCheckInterface getSessionClass(java.lang.String sessionClassName, java.lang.String classOptions)
sessionClassName - name of the classclassOptions - options of the class given to the constructorvoid setSessionClassName(java.lang.String sessionClassName,
java.lang.String classOptions,
boolean newSession)
sessionClassName - name of the classclassOptions - options of the class given to the constructornewSession - switch for newSession or closeSession.void setSessionNotificationEventManager(SessionNotificationEventManager sessionNotificationEventManager)
java.lang.String getContextByName(java.lang.String varName)
throws AoException
varName - The name of the requested context variable.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM AO_NOT_FOUND
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEvoid setInfo(java.lang.String varName,
java.lang.String value)
throws AoException
varName - The name of the context variable.value - The value of the context variable.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEvoid nativeSetInfo(java.lang.String varName,
java.lang.String value)
throws AoException
AoExceptionvoid updateInfo(java.lang.String varName,
java.lang.String value)
throws AoException
varName - The name of the context variable.value - The value of the context variable.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEvoid nativeUpdateInfo(java.lang.String varName,
java.lang.String value)
throws AoException
AoExceptionjava.lang.String[] getInfoList(java.lang.String varName)
throws AoException
varName - The name of the context variable.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_NOT_FOUNDvoid log(java.lang.String msg)
msg - the message.AoSession newlocalSession(java.lang.String auth) throws AoException
org.asam.ods.AoFactory.newSessionAoExceptionAoSession newLocalSessionNameValue(NameValue[] auth) throws AoException
org.asam.ods.AoFactory.newSessionNameValueAoException