| java.lang.Object org.sakaiproject.event.impl.UsageSessionServiceAdaptor
All known Subclasses: org.sakaiproject.event.impl.SessionServiceAdaptorTest,
UsageSessionServiceAdaptor | abstract public class UsageSessionServiceAdaptor implements UsageSessionService(Code) | |
UsageSessionServiceAdaptor implements the UsageSessionService. The Session aspects are done as an adaptor to the SessionManager. UsageSession entities are handled as was in the ClusterUsageSessionService.
|
Inner Class :protected interface Storage | |
Inner Class :public class SessionStateWrapper implements SessionState | |
Inner Class :protected class ClusterStorage implements Storage | |
Field Summary | |
protected boolean | m_autoDdl Configuration: to run the ddl on init or not. | protected Storage | m_storage Storage manager for this service. |
m_autoDdl | protected boolean m_autoDdl(Code) | | Configuration: to run the ddl on init or not.
|
m_storage | protected Storage m_storage(Code) | | Storage manager for this service.
|
UsageSessionServiceAdaptor | public UsageSessionServiceAdaptor()(Code) | | Init and Destroy
|
authzGroupService | abstract protected AuthzGroupService authzGroupService()(Code) | | the AuthzGroupService collaborator. |
destroy | public void destroy()(Code) | | Returns to uninitialized state.
|
getOpenSessions | public List getOpenSessions()(Code) | | |
getOpenSessionsByServer | public Map getOpenSessionsByServer()(Code) | | |
getSessionInactiveTimeout | public int getSessionInactiveTimeout()(Code) | | |
getSessionLostTimeout | public int getSessionLostTimeout()(Code) | | |
idManager | abstract protected IdManager idManager()(Code) | | the IdManager collaborator. |
init | public void init()(Code) | | Final initialization, once all dependencies are set.
|
logout | public void logout()(Code) | | |
logoutEvent | protected void logoutEvent(UsageSession session)(Code) | | Generate the logout event.
|
newStorage | protected Storage newStorage()(Code) | | Construct storage for this service.
|
sessionManager | abstract protected SessionManager sessionManager()(Code) | | the SessionManager collaborator. |
setAutoDdl | public void setAutoDdl(String value)(Code) | | Configuration: to run the ddl on init or not.
Parameters: value - the auto ddl value. |
sqlService | abstract protected SqlService sqlService()(Code) | | the SqlService collaborator. |
timeService | abstract protected TimeService timeService()(Code) | | the TimeService collaborator. |
|
|