Save This Page
Home » JBoss-5.1.0 » org » jboss » naming » [javadoc | source]
org.jboss.naming
public class: NamingService [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.naming.NamingService

All Implemented Interfaces:
    NamingServiceMBean, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

A JBoss service that starts the jnp JNDI server.
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public NamingService() 
Method from org.jboss.naming.NamingService Summary:
createAlias,   getBacklog,   getBindAddress,   getBootstrapURL,   getCallByValue,   getClientSocketFactory,   getClientSocketFactoryBean,   getInstallGlobalService,   getJNPServerSocketFactory,   getJNPServerSocketFactoryBean,   getLookupListenerException,   getMethodMap,   getNaming,   getNamingInfo,   getNamingInstance,   getNamingProxy,   getNamingServer,   getPort,   getRmiBindAddress,   getRmiPort,   getServerSocketFactory,   getServerSocketFactoryBean,   getUseGlobalService,   invoke,   removeAlias,   setBacklog,   setBindAddress,   setCallByValue,   setClientSocketFactory,   setClientSocketFactoryBean,   setInstallGlobalService,   setInvokerProxyFactory,   setJNPServerSocketFactory,   setJNPServerSocketFactoryBean,   setLookupPool,   setNaming,   setNamingInfo,   setNamingProxy,   setPort,   setRmiBindAddress,   setRmiPort,   setServerSocketFactory,   setServerSocketFactoryBean,   setUseGlobalService,   startService,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.naming.NamingService Detail:
 public  void createAlias(String fromName,
    String toName) throws Exception 
 public int getBacklog() 
 public String getBindAddress() 
 public String getBootstrapURL() 
 public boolean getCallByValue() 
    Get the call by value flag for jndi lookups.
 public String getClientSocketFactory() 
 public RMIClientSocketFactory getClientSocketFactoryBean() 
 public boolean getInstallGlobalService() 
 public String getJNPServerSocketFactory() 
 public ServerSocketFactory getJNPServerSocketFactoryBean() 
 public Exception getLookupListenerException() 
 public Map getMethodMap() 
    Expose the Naming service interface mapping as a read-only attribute
 public NamingBean getNaming() 
 public NamingBean getNamingInfo() 
 public Naming getNamingInstance() 
 public Object getNamingProxy() throws Exception 
 protected Main getNamingServer() 
    The 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).
 public int getPort() 
 public String getRmiBindAddress() 
 public int getRmiPort() 
 public String getServerSocketFactory() 
 public RMIServerSocketFactory getServerSocketFactoryBean() 
 public boolean getUseGlobalService() 
 public Object invoke(Invocation invocation) throws Exception 
    Expose the Naming service via JMX to invokers.
 public  void removeAlias(String name) throws Exception 
 public  void setBacklog(int backlog) 
 public  void setBindAddress(String host) throws UnknownHostException 
 public  void setCallByValue(boolean flag) 
    Set the call by value flag for jndi lookups.
 public  void setClientSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException 
 public  void setClientSocketFactoryBean(RMIClientSocketFactory factory) 
 public  void setInstallGlobalService(boolean flag) 
 public  void setInvokerProxyFactory(JRMPProxyFactoryMBean proxyFactory) 
 public  void setJNPServerSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException 
 public  void setJNPServerSocketFactoryBean(ServerSocketFactory factory) 
 public  void setLookupPool(BasicThreadPoolMBean poolMBean) 
    Set the thread pool used for the bootstrap lookups
 public  void setNaming(NamingBean bean) 
 public  void setNamingInfo(NamingBean bean) 
 public  void setNamingProxy(Object proxy) throws IOException 
 public  void setPort(int port) 
 public  void setRmiBindAddress(String host) throws UnknownHostException 
 public  void setRmiPort(int port) 
 public  void setServerSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException 
 public  void setServerSocketFactoryBean(RMIServerSocketFactory factory) 
 public  void setUseGlobalService(boolean flag) 
 protected  void startService() throws Exception 
 protected  void stopService() throws Exception