|
||||||||||
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. |
EventMgr |
getEventMgr()
|
boolean |
getInstallGlobalService()
|
boolean |
getInstallJavaComp()
|
Naming |
getNamingInstance()
|
SecurityManager |
getSecurityMgr()
|
boolean |
getUseGlobalService()
|
static void |
main(String[] args)
|
void |
setEventMgr(EventMgr eventMgr)
|
void |
setInstallGlobalService(boolean flag)
|
void |
setInstallJavaComp(boolean b)
|
void |
setSecurityMgr(SecurityManager securityMgr)
|
void |
setUseGlobalService(boolean flag)
|
void |
start()
|
void |
stop()
Clear the NamingContext local server if its our theSever value |
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
Exception
public Naming getNamingInstance()
getNamingInstance
in interface NamingBean
public boolean getInstallGlobalService()
public void setInstallGlobalService(boolean flag)
public boolean getUseGlobalService()
public void setUseGlobalService(boolean flag)
public EventMgr getEventMgr()
public void setEventMgr(EventMgr eventMgr)
public SecurityManager getSecurityMgr()
public void setSecurityMgr(SecurityManager securityMgr)
protected Naming createServer() throws Exception
Exception
- for any errorpublic boolean getInstallJavaComp()
public void setInstallJavaComp(boolean b)
public void start() throws Exception
Exception
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |