|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.SystemProvider
public class SystemProvider
SData Provider for handling System SData requests.
Constructor Summary | |
---|---|
SystemProvider(SDataServletContext servletContext,
java.lang.String name)
Constructor. |
Method Summary | |
---|---|
Authenticator |
getAuthenticator(javax.servlet.http.HttpServletRequest request,
java.lang.String dataset,
javax.servlet.http.HttpServletResponse response)
Gets the SData Authenticator for this SData provider. |
ResourceKindPool |
getPool(SDataRequest request,
java.lang.String authToken)
Gets the ResourcePool for this SData provider. |
java.util.Collection<SDataResourceKindInfo> |
getResourceKindInfo()
Gets the resource information for this SData provider. |
void |
initialize()
Handles any initialization routines required by the Provider |
void |
shutdown()
Clear up the SData service provider as the application server is closing the context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemProvider(SDataServletContext servletContext, java.lang.String name)
servletContext
- Method Detail |
---|
public Authenticator getAuthenticator(javax.servlet.http.HttpServletRequest request, java.lang.String dataset, javax.servlet.http.HttpServletResponse response)
SDataProvider
getAuthenticator
in interface SDataProvider
request
- the incoming requestdataset
- the data set that the request is onresponse
- the response, in case the method needs to add headers etc. to
remember GUIDs and other things
Authenticator
representing any authentication
information in the requestpublic ResourceKindPool getPool(SDataRequest request, java.lang.String authToken)
SDataProvider
getPool
in interface SDataProvider
request
- the incoming SDataRequest
authToken
- an Authenticator
representing any authentication
information for the request
ResourceKindPool
suitable for processing the given
requestpublic java.util.Collection<SDataResourceKindInfo> getResourceKindInfo()
SDataProvider
getResourceKindInfo
in interface SDataProvider
Collection
of the current SDataResourceKindInfo
that the provider is usingpublic void shutdown()
SDataProvider
shutdown
in interface SDataProvider
public void initialize()
SDataProvider
initialize
in interface SDataProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |