|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.aop.microcontainer.aspects.jndi.JndiIntroduction
public class JndiIntroduction
A JNDI binding aspect that creates bindings on interception of the kernel setKernelControllerContext callback, and removes them on any other method. The expectation is that this is applied to the org.jboss.kernel.spi.dependency.KernelControllerContextAware interface so that unbinding occurs on the unsetKernelControllerContext method.
Constructor Summary | |
---|---|
JndiIntroduction()
Deprecated. |
Method Summary | |
---|---|
Properties |
getEnv()
Deprecated. Get the InitialContext properties to use for binding/unbinding |
String |
getName()
Deprecated. |
Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation)
Deprecated. Bind the target on setKernelControllerContext, unbind on any other method provided that the invocation has a JndiBinding annotation. |
void |
setEnv(Properties env)
Deprecated. Set the InitialContext properties to use for binding/unbinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JndiIntroduction()
Method Detail |
---|
public String getName()
getName
in interface org.jboss.aop.advice.Interceptor
public Properties getEnv()
public void setEnv(Properties env)
env
- - the InitialContext ctor envpublic Object invoke(org.jboss.aop.joinpoint.Invocation invocation) throws Throwable
invoke
in interface org.jboss.aop.advice.Interceptor
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |