|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.ResourceListResourceKind
public class ResourceListResourceKind
Resource Kind that lists all the running resources on the system.
Constructor Summary | |
---|---|
ResourceListResourceKind(SystemApplicationContext applicationContext,
ResourceContext context)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getInstance()
|
java.lang.String |
getName()
|
ResourceResponse |
handleRequest(SDataRequest request,
AsyncStatusListener statusListenter)
Handle the specified request, passing information to the listener if there is one. |
void |
shutdown()
Shut down the resource kind. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceListResourceKind(SystemApplicationContext applicationContext, ResourceContext context)
applicationContext
- context
- Method Detail |
---|
public java.lang.String getInstance()
getInstance
in interface ResourceKind
public java.lang.String getName()
getName
in interface ResourceKind
public ResourceResponse handleRequest(SDataRequest request, AsyncStatusListener statusListenter)
ResourceKind
Note that even if an implementation is not thread-safe it must allow for
the ResourceKind.shutdown()
call to execute in parallel.
handleRequest
in interface ResourceKind
request
- the request to handlestatusListenter
- null or a listener than can be used for asynchronous tasks to
monitor progress.
ResourceResponse
to the requestpublic void shutdown()
ResourceKind
ResourceKind.handleRequest(SDataRequest, AsyncStatusListener)
.
shutdown
in interface ResourceKind
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |