org.apache.openejb.core
Class WebContext

java.lang.Object
  extended by org.apache.openejb.core.WebContext

public class WebContext
extends Object


Constructor Summary
WebContext(AppContext appContext)
           
 
Method Summary
 AppContext getAppContext()
           
 Map<String,Object> getBindings()
           
 ClassLoader getClassLoader()
           
 String getId()
           
 Collection<Injection> getInjections()
           
 Context getJndiEnc()
           
 Object inject(Object o)
           
 Object newInstance(Class beanClass)
           
 void setBindings(Map<String,Object> bindings)
           
 void setClassLoader(ClassLoader classLoader)
           
 void setId(String id)
           
 void setJndiEnc(Context jndiEnc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContext

public WebContext(AppContext appContext)
Method Detail

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

inject

public Object inject(Object o)
              throws OpenEJBException
Throws:
OpenEJBException

setBindings

public void setBindings(Map<String,Object> bindings)

getBindings

public Map<String,Object> getBindings()


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.