|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SDataProvider
This is the interface that all SData providers must implement.
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 |
Method Detail |
---|
Authenticator getAuthenticator(javax.servlet.http.HttpServletRequest request, java.lang.String dataset, javax.servlet.http.HttpServletResponse response)
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 requestResourceKindPool getPool(SDataRequest request, java.lang.String authToken)
request
- the incoming SDataRequest
authToken
- an Authenticator
representing any authentication
information for the request
ResourceKindPool
suitable for processing the given
requestjava.util.Collection<SDataResourceKindInfo> getResourceKindInfo()
Collection
of the current SDataResourceKindInfo
that the provider is usingvoid initialize()
void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |