public class WebContext
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WebContext.Instance |
Constructor and Description |
---|
WebContext(AppContext appContext) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(java.lang.Object o) |
AppContext |
getAppContext() |
java.util.Map<java.lang.String,java.lang.Object> |
getBindings() |
java.lang.ClassLoader |
getClassLoader() |
java.lang.String |
getContextRoot() |
java.lang.String |
getHost() |
java.lang.String |
getId() |
javax.naming.Context |
getInitialContext() |
java.util.Collection<Injection> |
getInjections() |
javax.naming.Context |
getJndiEnc() |
ServletContext |
getServletContext() |
WebBeansContext |
getWebbeansContext() |
WebBeansContext |
getWebBeansContext() |
java.lang.Object |
inject(java.lang.Object o) |
java.lang.Object |
newInstance(java.lang.Class beanClass) |
<T> WebContext.Instance |
newWeakableInstance(java.lang.Class<T> beanClass) |
void |
release() |
void |
setBindings(java.util.Map<java.lang.String,java.lang.Object> bindings) |
void |
setClassLoader(java.lang.ClassLoader classLoader) |
void |
setContextRoot(java.lang.String contextRoot) |
void |
setHost(java.lang.String host) |
void |
setId(java.lang.String id) |
void |
setInitialContext(javax.naming.Context initialContext) |
void |
setJndiEnc(javax.naming.Context jndiEnc) |
void |
setServletContext(ServletContext servletContext) |
void |
setWebbeansContext(WebBeansContext webbeansContext) |
public WebContext(AppContext appContext)
public javax.naming.Context getInitialContext()
public ServletContext getServletContext()
public void setServletContext(ServletContext servletContext)
public void setHost(java.lang.String host)
public java.lang.String getHost()
public void setInitialContext(javax.naming.Context initialContext)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
public java.util.Collection<Injection> getInjections()
public javax.naming.Context getJndiEnc()
public void setJndiEnc(javax.naming.Context jndiEnc)
public AppContext getAppContext()
public <T> WebContext.Instance newWeakableInstance(java.lang.Class<T> beanClass) throws OpenEJBException
OpenEJBException
public java.lang.Object newInstance(java.lang.Class beanClass) throws OpenEJBException
OpenEJBException
public WebBeansContext getWebBeansContext()
public java.lang.Object inject(java.lang.Object o) throws OpenEJBException
OpenEJBException
public void setBindings(java.util.Map<java.lang.String,java.lang.Object> bindings)
public java.util.Map<java.lang.String,java.lang.Object> getBindings()
public void setWebbeansContext(WebBeansContext webbeansContext)
public WebBeansContext getWebbeansContext()
public void setContextRoot(java.lang.String contextRoot)
public java.lang.String getContextRoot()
public void destroy(java.lang.Object o)
public void release()