|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wsm.agent.handler.WSMAgentWrapper
public class WSMAgentWrapper
Constructor Summary | |
---|---|
WSMAgentWrapper(Map config) The constructor for this class. |
Method Summary | |
---|---|
boolean |
handleFault(IMessageContext soapBindingMessageContext) This method handles the fault. |
boolean |
handleRequest(IMessageContext soapBindingMessageContext) This method handles the request. |
boolean |
handleResponse(IMessageContext soapBindingMessageContext) This method handles the response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSMAgentWrapper(Map config)
The constructor for this class.
Agent function type and policy list are extracted from the handler configuration which is passed as parameter. Agent function type can either be agent.function.client or agent.function.server. The policy list is available from config only in case of server agents.For client agents policy list is obtained from SOAPBindingMessageContext.
config
- handler configuration propertiesMethod Detail |
---|
public boolean handleRequest(IMessageContext soapBindingMessageContext) throws WSMException, PolicyAccessException
This method handles the request.
This method first initializes the WSMAgent and then invokes the processRequest() method of WSMAgent. WSMAgent is intialized only in case of first request and in subsequent requests the same WSMAgent instance is used.In case of any fault while processing the request WSMException is thrown.In case there is any exception in fetching the policies using the classpath mode then PolicyAccessException is thrown.
soapBindingMessageContext
- This is the wsm specific message context.WSMException,PolicyAccessException
WSMException
PolicyAccessException
public boolean handleResponse(IMessageContext soapBindingMessageContext) throws WSMException
This method handles the response.
This method handles the response and invokes the processResponse method of WSMAgent. In case of any fault while processing the response WSMException is thrown.
soapBindingMessageContext
- This is the wsm specific message contextWSMException
public boolean handleFault(IMessageContext soapBindingMessageContext) throws WSMException
This method handles the fault.
This method handles the fault and invokes the procesFault method of WSMAgent. In case of any fault while processing the fault WSMException is thrown.
soapBindingMessageContext
- This is the wsm specific message contextWSMException
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |