|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.milyn.container.servlet.ServletContainerContext
ContainerContext adapter for the javax.servlet.ServletContext interface.
Constructor Summary | |
ServletContainerContext(javax.servlet.ServletContext servletContext,
javax.servlet.ServletConfig servletConfig)
Public constructor. |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the object bound with the specified name in this BoundAttributeStore
implementation, or null if no object is bound under the name. |
CDRStore |
getCdrarStore()
Get the CDRStore for from the container application context. |
ContainerResourceLocator |
getResourceLocator()
Get the container resource locator for the context. |
javax.servlet.ServletContext |
getServletContext()
Get the associated ServletContext instance. |
void |
removeAttribute(java.lang.String name)
Removes the object bound with the specified name from this BoundAttributeStore
implementation. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Binds an object to this BoundAttributeStore implementation, using the name
specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServletContainerContext(javax.servlet.ServletContext servletContext, javax.servlet.ServletConfig servletConfig)
servletContext
- ServletContext instance.servletConfig
- ServletConfig instance.Method Detail |
public ContainerResourceLocator getResourceLocator()
ContainerContext
getResourceLocator
in interface ContainerContext
public void setAttribute(java.lang.String name, java.lang.Object value)
BoundAttributeStore
BoundAttributeStore
implementation, using the name
specified. If an object of the same name is already bound, the object
is replaced.
setAttribute
in interface BoundAttributeStore
name
- The name to which the object is bound; cannot be null.value
- The object to be bound; cannot be null.public java.lang.Object getAttribute(java.lang.String name)
BoundAttributeStore
BoundAttributeStore
implementation, or null if no object is bound under the name.
getAttribute
in interface BoundAttributeStore
name
- The name to which the object is bound; cannot be null.
BoundAttributeStore
implementation, or null if no object is bound under the name.public void removeAttribute(java.lang.String name)
BoundAttributeStore
BoundAttributeStore
implementation. If the BoundAttributeStore
implementation does
not have an object bound with the specified name, this method does nothing.
removeAttribute
in interface BoundAttributeStore
name
- The name to which the object is bound; cannot be null.public CDRStore getCdrarStore()
ContainerContext
getCdrarStore
in interface ContainerContext
public javax.servlet.ServletContext getServletContext()
|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |