|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A MegContext defines the context inwhich this Meg request is
running under. Portions of this context may not be defined for different
context implementations and Meg writers need to be aware that methods are
allowed to return null for non-applicable methods.
| Method Summary | |
java.lang.Object |
getMegResource(java.lang.String key)
Obtain a Meg resource by a Meg resource identification key. |
java.util.Enumeration |
getRequestServiceElements()
Obtain a list of the identities available for the getRequestService(Integer) method. |
com.ibm.wbi.Service |
getService()
Obtain a Service providing an api for making requests of the same type as this Request being serviced. |
com.ibm.wbi.Service |
getService(java.lang.Integer identity)
Obtain a Service providing an api for making requests to the specified request identity. |
java.util.Enumeration |
megResourceKeys()
Obtain a list of available Meg resource identification keys. |
void |
removeMegResource(java.lang.String key)
Remove the MegResource with the given key. |
void |
setMegResource(java.lang.String key,
java.lang.Object resource)
Set a MegResource that can be retreived by getmegResource. |
| Method Detail |
public java.lang.Object getMegResource(java.lang.String key)
key - The Meg resource key.
public void setMegResource(java.lang.String key,
java.lang.Object resource)
getmegResource.
An subsequent Megs in the Meg chain can now obtain a reference to this
resource by the specified key.key - The Meg resource key.resource - The Meg resource.public void removeMegResource(java.lang.String key)
key - The Meg resource key.public java.util.Enumeration megResourceKeys()
public com.ibm.wbi.Service getService()
throws RequestRejectedException
RequestRejectedException - If this request type does not
support making internal requests.
public com.ibm.wbi.Service getService(java.lang.Integer identity)
throws RequestRejectedException
identity - The identity of the request type.RequestRejectedException - If this request type does not
support making internal requests.public java.util.Enumeration getRequestServiceElements()
getRequestService(Integer) method.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||