|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wlcp.wlng.api.plugin.RequestFactory
The Request factory is used to perform traffic path-specific processing before and after a request is processed in the plug-in. There should be one implementation for each application-facing interface.
Constructor Summary | |
RequestFactory()
|
Method Summary | |
java.lang.Throwable |
convertEx(java.lang.reflect.Method method,
java.lang.Throwable t)
Converts a generic exception to a service-specific exception. |
java.lang.Object[] |
createPartialRequest(java.util.List ris)
Create a partial request for a subset of RequestInfos. |
RequestInfo |
createRequestInfo(java.lang.Class type,
java.lang.reflect.Method method,
java.lang.Object[] args)
Create the request info. |
RequestInfo[] |
createRequestInfos(java.lang.Class type,
java.lang.reflect.Method method,
java.lang.Object[] args)
Creates multiple RequestInfos for one request. |
static java.lang.Object |
getArgument(int index,
java.lang.Object[] args)
Helper method for finding the argument on specific index. |
java.lang.Object |
mergeResults(RequestInfo[] ris,
java.util.List results)
Merges partial results into one result. |
void |
validateRequest(java.lang.reflect.Method method,
java.lang.Object[] args)
Validate the request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestFactory()
Method Detail |
public java.lang.Throwable convertEx(java.lang.reflect.Method method, java.lang.Throwable t)
method
- The method that was called.t
- The exception to convert.
public java.lang.Object[] createPartialRequest(java.util.List ris)
ris
- The request information.
public RequestInfo createRequestInfo(java.lang.Class type, java.lang.reflect.Method method, java.lang.Object[] args)
public RequestInfo[] createRequestInfos(java.lang.Class type, java.lang.reflect.Method method, java.lang.Object[] args)
public static final java.lang.Object getArgument(int index, java.lang.Object[] args)
args
- Arguments.index
- Index.
public java.lang.Object mergeResults(RequestInfo[] ris, java.util.List results)
ris
- The request information.results
- The result from all requests.
public void validateRequest(java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
java.lang.Exception
- on validation error.
java.lang.Throwable
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |