org.jnp.server
Class NamingBeanImpl
java.lang.Object
org.jnp.server.NamingBeanImpl
- All Implemented Interfaces:
- NamingBean
public class NamingBeanImpl
- extends Object
- implements NamingBean
A naming pojo that wraps the Naming server implementation. This is
a refactoring of the legacy org.jnp.server.Main into a
- Version:
- $Revision:$
- Author:
- Scott.Stark@jboss.org
|
Field Summary |
protected boolean |
InstallGlobalService
A flag indicating if theServer will be set as the NamingContext.setLocal value |
protected Naming |
theServer
The Naming interface server implementation |
protected boolean |
UseGlobalService
A flag indicating if theServer will try to use the NamingContext.setLocal value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theServer
protected Naming theServer
- The Naming interface server implementation
InstallGlobalService
protected boolean InstallGlobalService
- A flag indicating if theServer will be set as the NamingContext.setLocal value
UseGlobalService
protected boolean UseGlobalService
- A flag indicating if theServer will try to use the NamingContext.setLocal value
NamingBeanImpl
public NamingBeanImpl()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
getNamingInstance
public Naming getNamingInstance()
- Specified by:
getNamingInstance in interface NamingBean
getInstallGlobalService
public boolean getInstallGlobalService()
setInstallGlobalService
public void setInstallGlobalService(boolean flag)
getUseGlobalService
public boolean getUseGlobalService()
setUseGlobalService
public void setUseGlobalService(boolean flag)
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
Copyright © 2008 JBoss Inc.. All Rights Reserved.