-
Sub-task
-
Resolution: Obsolete
-
Major
-
None
-
None
The embeddable JNDI service should be subclass of org.jnp.NamingServer
like the following prototype in the aspects tests:
/*
- JBoss, the OpenSource J2EE webOS
* - Distributable under LGPL license.
- See terms of license at gnu.org.
*/
package org.jboss.test.aspects.microcontainer.support.pojo;
import javax.naming.NamingException;
import org.jnp.interfaces.NamingContext;
import org.jnp.server.NamingServer;
/**
- POJO NamingServer
* - @author <a href="mailto:adrian@jboss.org">Adrian Brock</a>
- @version $Revision: 1.1 $
*/
public class POJONamingServer extends NamingServer
{
/** The serialVersionUID */
private static final long serialVersionUID = 3832907641310425907L;
public POJONamingServer() throws NamingException
{ NamingContext.setLocal(this); }}