|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jnp.server.NamingBeanImpl
public class NamingBeanImpl
A naming pojo that wraps the Naming server implementation. This is a refactoring of the legacy org.jnp.server.Main into a
| 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 | |
|---|---|
protected Naming |
createServer()
Util method for possible override. |
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 |
|---|
protected Naming theServer
protected boolean InstallGlobalService
protected boolean UseGlobalService
| Constructor Detail |
|---|
public NamingBeanImpl()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exceptionpublic Naming getNamingInstance()
getNamingInstance in interface NamingBeanpublic boolean getInstallGlobalService()
public void setInstallGlobalService(boolean flag)
public boolean getUseGlobalService()
public void setUseGlobalService(boolean flag)
protected Naming createServer()
throws Exception
Exception - for any error
public void start()
throws Exception
Exceptionpublic void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||