org.apache.jackrabbit.spi.commons.logging
Class SessionInfoLogger
java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.SessionInfoLogger
- All Implemented Interfaces:
- SessionInfo
public class SessionInfoLogger
- extends AbstractLogger
- implements SessionInfo
Log wrapper for a SessionInfo.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionInfoLogger
public SessionInfoLogger(SessionInfo sessionInfo,
LogWriter writer)
- Create a new instance for the given
sessionInfo which uses
writer for persisting log messages.
- Parameters:
sessionInfo - writer -
getSessionInfo
public SessionInfo getSessionInfo()
- Returns:
- the wrapped SessionInfo
getUserID
public String getUserID()
- Specified by:
getUserID in interface SessionInfo
getWorkspaceName
public String getWorkspaceName()
- Specified by:
getWorkspaceName in interface SessionInfo
getLockTokens
public String[] getLockTokens()
throws RepositoryException
- Specified by:
getLockTokens in interface SessionInfo
- Throws:
RepositoryException
addLockToken
public void addLockToken(String lockToken)
throws RepositoryException
- Specified by:
addLockToken in interface SessionInfo
- Throws:
RepositoryException
removeLockToken
public void removeLockToken(String lockToken)
throws RepositoryException
- Specified by:
removeLockToken in interface SessionInfo
- Throws:
RepositoryException
setUserData
public void setUserData(String userData)
throws RepositoryException
- Specified by:
setUserData in interface SessionInfo
- Throws:
RepositoryException
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.