Hi, i have a simple service like this (mymbean-service.xml):
MY_JNDI_NAME
jboss:service=Naming
my start method (for the mbean) looks something like this:
Context rootCtx = new InitialContext();
| try {
| Name fullName = rootCtx.getNameParser("").parse(jndiName);
| NonSerializableFactory.rebind(fullName, getObjectToBind(), true);
| } finally {
| rootCtx.close();
| }
the mbean gets bound to the global jndi namespace. however i want the bean to be in the
java: jndi namespace.
Any idea(s) how to achieve this?
tia,
dani
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201087#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...