[jboss-user] [JNDI/Naming/Network] - Re: Exporting mbean into JNDI java-namespace

2009-01-12 Thread daniDG
the service file looks like this (without lt, gt signs...): mbean name="mybean" code="my.package.MyClass" attribute name="jndiName" MY_JNDI_NAME depends jboss:service=Naming View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201091#4201091 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Exporting mbean into JNDI java-namespace

2009-01-12 Thread daniDG
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(jndiNam