|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aop.microcontainer.aspects.jndi.JndiLifecycleCallback
public class JndiLifecycleCallback
The jndi lifecycle callback. This puts the beans marked with @JndiBinding into jndi.
| Constructor Summary | |
|---|---|
JndiLifecycleCallback()
|
|
| Method Summary | |
|---|---|
Properties |
getEnv()
Get the InitialContext properties to use for binding/unbinding |
String |
getName()
|
void |
install(ControllerContext context)
|
Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation)
Bind the target on setKernelControllerContext, unbind on any other method provided that the invocation has a JndiBinding annotation. |
void |
setEnv(Properties env)
Set the InitialContext properties to use for binding/unbinding |
void |
uninstall(ControllerContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiLifecycleCallback()
| Method Detail |
|---|
public String getName()
public Properties getEnv()
public void setEnv(Properties env)
env - - the InitialContext ctor env
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
invocation - the invocation
Throwable - for any error
public void install(ControllerContext context)
throws Exception
Exception
public void uninstall(ControllerContext context)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||