|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.jboss.managed.ManagedSession
@Immutable public final class ManagedSession
The ManagedSession
class is a JBoss managed object of a ModeShape session.
Field Summary | |
---|---|
static Comparator<ManagedSession> |
SORT_BY_USER
A sorter for when sessions need to be sorted by user name. |
Constructor Summary | |
---|---|
ManagedSession(String workspaceName,
String userName,
String id,
org.joda.time.DateTime timeCreated)
Constructs a managed object for a ModeShape session. |
Method Summary | |
---|---|
String |
getId()
Obtains the session's unique identifier. |
org.joda.time.DateTime |
getTimeCreated()
Obtains the session's creation time. |
String |
getUserName()
Obtains the session's user name. |
String |
getWorkspaceName()
Obtains the session's workspace name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Comparator<ManagedSession> SORT_BY_USER
Constructor Detail |
---|
public ManagedSession(String workspaceName, String userName, String id, org.joda.time.DateTime timeCreated)
workspaceName
- the session's workspace name (never null
and never empty)userName
- the user name of the session (never null
and never empty)id
- the session's identifier (never null
and never empty)timeCreated
- the session's time of creation (never null
)Method Detail |
---|
public String getId()
null
and never empty)public org.joda.time.DateTime getTimeCreated()
null
)public String getUserName()
null
and never empty)public String getWorkspaceName()
null
and never empty)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |