org.jnp.server
Class NamingBeanImpl

java.lang.Object
  extended by 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
 
Constructor Summary
NamingBeanImpl()
           
 
Method Summary
 boolean getInstallGlobalService()
           
 Naming getNamingInstance()
           
 boolean getUseGlobalService()
           
static void main(String[] args)
           
 void setInstallGlobalService(boolean flag)
           
 void setUseGlobalService(boolean flag)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

NamingBeanImpl

public NamingBeanImpl()
Method Detail

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.