public class ServletContextBindingRegistry extends Object implements BindingRegistry
| Constructor and Description |
|---|
ServletContextBindingRegistry(javax.servlet.ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bind(String name,
Object obj) |
void |
close() |
Object |
getContext()
The context used by the registry.
|
Object |
lookup(String name) |
void |
setContext(Object o) |
void |
unbind(String name) |
public ServletContextBindingRegistry(javax.servlet.ServletContext servletContext)
public Object lookup(String name)
lookup in interface BindingRegistrypublic boolean bind(String name, Object obj)
bind in interface BindingRegistrypublic void unbind(String name)
unbind in interface BindingRegistrypublic void close()
close in interface BindingRegistrypublic Object getContext()
BindingRegistrygetContext in interface BindingRegistrypublic void setContext(Object o)
setContext in interface BindingRegistryCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.