org.apache.openejb.core
Class WebContext
java.lang.Object
org.apache.openejb.core.WebContext
public class WebContext
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebContext
public WebContext(AppContext appContext)
getInitialContext
public Context getInitialContext()
setHost
public void setHost(String host)
getHost
public String getHost()
setInitialContext
public void setInitialContext(Context initialContext)
getId
public String getId()
setId
public void setId(String id)
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
getInjections
public Collection<Injection> getInjections()
getJndiEnc
public Context getJndiEnc()
setJndiEnc
public void setJndiEnc(Context jndiEnc)
getAppContext
public AppContext getAppContext()
newInstance
public Object newInstance(Class beanClass)
throws OpenEJBException
- Throws:
OpenEJBException
getWebBeansContext
public org.apache.webbeans.config.WebBeansContext getWebBeansContext()
inject
public Object inject(Object o)
throws OpenEJBException
- Throws:
OpenEJBException
setBindings
public void setBindings(Map<String,Object> bindings)
getBindings
public Map<String,Object> getBindings()
setWebbeansContext
public void setWebbeansContext(org.apache.webbeans.config.WebBeansContext webbeansContext)
getWebbeansContext
public org.apache.webbeans.config.WebBeansContext getWebbeansContext()
setContextRoot
public void setContextRoot(String contextRoot)
getContextRoot
public String getContextRoot()
destroy
public void destroy(Object o)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.