|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.naming.NamingService
A JBoss service that starts the jnp JNDI server.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
NamingService()
|
Method Summary | |
int |
getBacklog()
|
java.lang.String |
getBindAddress()
|
boolean |
getCallByValue()
Get the call by value flag for jndi lookups. |
java.lang.String |
getClientSocketFactory()
|
boolean |
getInstallGlobalService()
|
java.util.Map |
getMethodMap()
Expose the Naming service interface mapping as a read-only attribute |
protected Main (src) |
getNamingServer()
The getNamingServer method makes this class
extensible, but it is a hack. |
int |
getPort()
|
java.lang.String |
getRmiBindAddress()
|
int |
getRmiPort()
|
java.lang.String |
getServerSocketFactory()
|
java.lang.Object |
invoke(Invocation (src) invocation)
Expose the Naming service via JMX to invokers. |
void |
setBacklog(int backlog)
|
void |
setBindAddress(java.lang.String host)
|
void |
setCallByValue(boolean flag)
Set the call by value flag for jndi lookups. |
void |
setClientSocketFactory(java.lang.String factoryClassName)
|
void |
setInstallGlobalService(boolean flag)
|
void |
setInvokerProxyFactory(JRMPProxyFactoryMBean (src) proxyFactory)
|
void |
setJNPServerSocketFactory(java.lang.String factoryClassName)
|
void |
setLookupPool(BasicThreadPoolMBean (src) poolMBean)
Set the thread pool used for the bootstrap lookups |
void |
setPort(int port)
|
void |
setRmiBindAddress(java.lang.String host)
|
void |
setRmiPort(int port)
|
void |
setServerSocketFactory(java.lang.String factoryClassName)
|
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NamingService()
Method Detail |
public void setLookupPool(BasicThreadPoolMBean (src) poolMBean)
poolMBean
- public boolean getCallByValue()
public void setCallByValue(boolean flag)
flag
- - true if all lookups are unmarshalled using the caller's TCL,
false if in VM lookups return the value by reference.public void setPort(int port)
public int getPort()
public void setRmiPort(int port)
public int getRmiPort()
public java.lang.String getBindAddress()
public void setBindAddress(java.lang.String host) throws java.net.UnknownHostException
java.net.UnknownHostException
public java.lang.String getRmiBindAddress()
public void setRmiBindAddress(java.lang.String host) throws java.net.UnknownHostException
java.net.UnknownHostException
public int getBacklog()
public void setBacklog(int backlog)
public boolean getInstallGlobalService()
public void setInstallGlobalService(boolean flag)
public java.lang.String getClientSocketFactory()
public void setClientSocketFactory(java.lang.String factoryClassName) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public java.lang.String getServerSocketFactory()
public void setServerSocketFactory(java.lang.String factoryClassName) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public void setJNPServerSocketFactory(java.lang.String factoryClassName) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public void setInvokerProxyFactory(JRMPProxyFactoryMBean (src) proxyFactory)
protected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected Main (src) getNamingServer()
getNamingServer
method makes this class
extensible, but it is a hack. The NamingServer should be
exposed directly as an xmbean, and the startup logic put in
either an interceptor, the main class itself, or an auxilliary
mbean (for the enc).
Main
valuepublic java.util.Map getMethodMap()
public java.lang.Object invoke(Invocation (src) invocation) throws java.lang.Exception
invocation
- A pointer to the invocation object
java.lang.Exception
- Failed to invoke method.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |