|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApiRegistry
Classes implementing this interface are responsible of registering public APIs and beans.
Method Summary | |
---|---|
void |
addRequestFilter(RequestFilter requestFilter)
Adds a RequestFilter. |
AAService |
getAAS(java.lang.String apiName)
Gets the authenticator associated to the specified apiName. |
java.rmi.Remote |
getApi(java.lang.String apiName)
Gets an instance of the specified API. |
java.lang.String[] |
getApiNames()
Gets the list of registered API names. |
ApiReflector |
getReflector(java.lang.String apiName)
Gets the reflector for the specified API. |
java.util.List |
getRequestFilters()
Gets the list of RequestFilter set. |
void |
register(ApiReflector reflector)
Registers the specified object. |
void |
registerWSDD(java.io.InputStream wsddIS)
Registers the specified wsdd. |
void |
registerWSDD(java.net.URL wsddURL)
Registers the specified wsdd. |
boolean |
removeRequestFilter(RequestFilter requestFilter)
Removes a RequestFilter. |
void |
setAAS(java.lang.String apiName,
AAService a)
Associates an "authenticator" to an API by its name. |
Method Detail |
---|
void register(ApiReflector reflector)
reflector
- An encapsulation of all data needed for API / Bean registryvoid registerWSDD(java.net.URL wsddURL) throws java.lang.Exception
wsddURL
- the wsdd url to register
java.lang.Exception
- If there is an error in the deployment descriptorvoid registerWSDD(java.io.InputStream wsddIS) throws java.lang.Exception
wsddIS
- the wsdd inputstream to register
java.lang.Exception
- If there is an error in the deployment descriptorAAService getAAS(java.lang.String apiName)
This method MUST return the default authenticator if none is associated to this apiName. It SHOULD allow a null authenticator, for those services requiring no authentication regardless of the default configuration.
apiName
- The name of the API
void setAAS(java.lang.String apiName, AAService a)
apiName
- The name of the APIa
- The Authenticator to associate withjava.rmi.Remote getApi(java.lang.String apiName)
apiName
- The class name of the API interface, or the name of the API.
ApiReflector getReflector(java.lang.String apiName)
apiName
- The class name of the API interface, or the name of the API.
java.lang.String[] getApiNames()
java.util.List getRequestFilters()
void addRequestFilter(RequestFilter requestFilter)
requestFilter
- the RequestFilter to be added.boolean removeRequestFilter(RequestFilter requestFilter)
requestFilter
- the RequestFilter to be removed.
requestFilter
was successfully removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |