|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Context information pertaining to a specific request being processed by the WSRF
resource invocation framework. Provides methods for obtaining the ResourceHome
and Resource
objects associated with the request. Also provides access to
some service related information such as the service endpoint URL.
Method Summary | |
boolean |
containsProperty(java.lang.String name)
|
java.lang.Object |
getProperty(java.lang.String name)
|
java.util.Iterator |
getPropertyNames()
|
java.lang.String |
getRequestAction()
Returns the value of the request's wsa:Action header element. |
Resource |
getResource()
Returns the resource instance that was targeted by the request associated with this context. |
ResourceHome |
getResourceHome()
Gets ResourceHome associated with the service. |
java.lang.String |
getServiceName()
Gets name of the service. |
java.net.URL |
getServiceURL()
Gets the endpoint URL of the service. |
javax.xml.soap.SOAPMessage |
getSOAPMessage()
DOCUMENT_ME |
void |
removeProperty(java.lang.String name)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setResponseAction(java.net.URI action)
Sets the value that should be used for the response's wsa:Action header element. |
Method Detail |
public java.lang.Object getProperty(java.lang.String name)
MessageContext.getProperty(String)
public java.util.Iterator getPropertyNames()
MessageContext.getPropertyNames()
public void setProperty(java.lang.String name, java.lang.Object value)
MessageContext.setProperty(String, Object)
public java.lang.String getRequestAction()
public Resource getResource() throws ResourceException
ResourceException
- upon failure to lookup a resource instance from the homepublic ResourceHome getResourceHome()
ResourceHome
associated with the service.
ResourceHome
associated with the service. Cannot be null.public void setResponseAction(java.net.URI action)
action
- the value that should be used for the response's wsa:Action header element;
if null, a default value will be generated by the resource invocation frameworkpublic javax.xml.soap.SOAPMessage getSOAPMessage()
public java.lang.String getServiceName()
public java.net.URL getServiceURL()
public boolean containsProperty(java.lang.String name)
MessageContext.containsProperty(String)
public void removeProperty(java.lang.String name)
MessageContext.removeProperty(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |