|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.soap.server.ContainerContext
ContainerContext
defines the context of the container
in which the SOAP server is running.
The actual content depends on the environment in which the server is
running, such as in a servlet engine. This class should contain
only container-specific content.
Field Summary | |
static java.lang.String |
SERVLET_CONTAINER
The value for a servlet container type. |
Constructor Summary | |
ContainerContext()
|
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the attribute with the given name, or null if there is no attribute by that name. |
java.util.Enumeration |
getAttributeNames()
Returns an Enumeration containing the attribute names available within this SOAP context. |
java.lang.String |
getContainerType()
Returns the container type. |
javax.servlet.http.HttpServlet |
getHttpServlet()
Returns the HTTP servlet if the container type is SERVLET_CONTAINER. |
void |
removeAttribute(java.lang.String name)
Removes the attribute with the given name from the context. |
void |
setAttribute(java.lang.String name,
java.lang.Object object)
Binds an object to a given attribute name in this SOAP context. |
void |
setContainerType(java.lang.String containerType)
Set the container type. |
void |
setHttpServlet(javax.servlet.http.HttpServlet servlet)
Set the HTTP servlet for a SOAP server running in a SERVLET_CONTAINER type of container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SERVLET_CONTAINER
Constructor Detail |
public ContainerContext()
Method Detail |
public void setContainerType(java.lang.String containerType)
containerType
- The type of container in which the SOAP server is running.public java.lang.String getContainerType()
public javax.servlet.http.HttpServlet getHttpServlet()
HttpServlet
that is processing the SOAP request, or
null
if the servlet attribute is not set.public void setHttpServlet(javax.servlet.http.HttpServlet servlet)
servlet
- The HttpServlet
that is processing the SOAP request.public java.lang.Object getAttribute(java.lang.String name)
name
- A String
specifying the name of the attribute.null
if no attribute exists matching the given name.getAttributeNames()
public java.util.Enumeration getAttributeNames()
Enumeration
of attribute names.getAttribute(java.lang.String)
public void setAttribute(java.lang.String name, java.lang.Object object)
name
- A non-null String
specifying the name of the attribute.object
- An non-null Object
representing the attribute to be bound.public void removeAttribute(java.lang.String name)
name
- A String
specifying the name of the attribute to be
removed.object
- An Object
representing the attribute to be bound.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |