|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectGCUBEWSResource
org.gcube.vremanagement.resourcemanager.impl.state.InstanceState
public final class InstanceState
The ResourceManager's stateful resource
| Constructor Summary | |
|---|---|
InstanceState()
|
|
| Method Summary | |
|---|---|
void |
addSession(Session session)
Adds a new Session to the service's state |
void |
dispose()
Disposes the current scope |
GCUBEScope |
getManagedScope()
Gets the RP ManagedScope |
PublishedScopeResource |
getPublishedScopeResource()
Gets the PublishedScopeResource |
ScopeState |
getResourceList()
Gets the list of ScopedResources |
java.lang.String |
getSerializedSession(java.lang.String id)
Gets the string representation of a Session |
Session |
getSession(java.lang.String id)
Gets the Session |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceState()
| Method Detail |
|---|
public GCUBEScope getManagedScope()
public Session getSession(java.lang.String id)
throws java.io.IOException
Session
id - the session ID
java.io.IOException
public java.lang.String getSerializedSession(java.lang.String id)
throws java.io.IOException
Session
id - the session ID
java.io.IOExceptionpublic void addSession(Session session)
Session to the service's state
session - the session to add
public PublishedScopeResource getPublishedScopeResource()
throws org.globus.wsrf.NoSuchResourceException
PublishedScopeResource
PublishedScopeResource
org.globus.wsrf.NoSuchResourceExceptionpublic ScopeState getResourceList()
ScopedResources
public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||