|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.integration.deployer.env.WebBeansJndiBinder
public class WebBeansJndiBinder
This singleton bean for the deployer is responsible for binding an object factory to the required name(s) in JNDI. Once bound, all deployed applications can obtain the Web Beans manager from JNDI.
Constructor Summary | |
---|---|
WebBeansJndiBinder()
|
Method Summary | |
---|---|
protected void |
bind(String key,
Object binding)
Bind object to jndi. |
void |
startService(String jndiContextPath,
String managerObjectFactoryClass)
Start the service. |
void |
stopService()
Stop the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebBeansJndiBinder()
Method Detail |
---|
public void startService(String jndiContextPath, String managerObjectFactoryClass) throws Exception
jndiContextPath
- the jndi context pathmanagerObjectFactoryClass
- the manager object factory
Exception
- for any errorpublic void stopService() throws Exception
Exception
- for any errorprotected void bind(String key, Object binding) throws Exception
key
- the keybinding
- the object to bind
Exception
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |