public class NamingBeanImpl extends java.lang.Object implements NamingBean
| Modifier and Type | Field and Description |
|---|---|
private EventMgr |
eventMgr
The plugin for the manager which dispatches EventContext events to listeners
|
protected boolean |
InstallGlobalService
A flag indicating if theServer will be set as the NamingContext.setLocal value
|
private boolean |
installJavaComp
Whether or not to setup java:comp during startup
|
private static org.jboss.logging.Logger |
log |
private java.lang.SecurityManager |
securityMgr
The SecurityManager
|
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 and Description |
|---|
NamingBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Naming |
createServer()
Util method for possible override.
|
EventMgr |
getEventMgr() |
boolean |
getInstallGlobalService() |
boolean |
getInstallJavaComp() |
Naming |
getNamingInstance() |
java.lang.SecurityManager |
getSecurityMgr() |
boolean |
getUseGlobalService() |
static void |
main(java.lang.String[] args) |
void |
setEventMgr(EventMgr eventMgr) |
void |
setInstallGlobalService(boolean flag) |
void |
setInstallJavaComp(boolean b) |
void |
setSecurityMgr(java.lang.SecurityManager securityMgr) |
void |
setUseGlobalService(boolean flag) |
void |
start() |
void |
stop()
Clear the NamingContext local server if its our theSever value
|
private static org.jboss.logging.Logger log
protected Naming theServer
protected boolean InstallGlobalService
protected boolean UseGlobalService
private EventMgr eventMgr
private java.lang.SecurityManager securityMgr
private boolean installJavaComp
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic Naming getNamingInstance()
getNamingInstance in interface NamingBeanpublic boolean getInstallGlobalService()
public void setInstallGlobalService(boolean flag)
public boolean getUseGlobalService()
public void setUseGlobalService(boolean flag)
public EventMgr getEventMgr()
public void setEventMgr(EventMgr eventMgr)
public java.lang.SecurityManager getSecurityMgr()
public void setSecurityMgr(java.lang.SecurityManager securityMgr)
protected Naming createServer() throws java.lang.Exception
java.lang.Exception - for any errorpublic boolean getInstallJavaComp()
public void setInstallJavaComp(boolean b)
public void start()
throws java.lang.Exception
java.lang.Exceptionpublic void stop()