org.jnp.server
Interface MainMBean

All Known Implementing Classes:
Main

public interface MainMBean

The Mbean interface for the jnp provider server.

Version:
$Revision: 1.8 $
Author:
oberg, Scott.Stark@jboss.org

Method Summary
 int getBacklog()
           
 String getBindAddress()
           
 String getClientSocketFactory()
          Get the RMIClientSocketFactory implementation class
 boolean getInstallGlobalService()
          Get the InstallGlobalService which defines whether the MainMBean's Naming server will be installed as the NamingContext.setLocal global value.
 int getPort()
           
 String getRmiBindAddress()
           
 int getRmiPort()
           
 String getServerSocketFactory()
          Get the RMIServerSocketFactory implementation class
 void setBacklog(int backlog)
           
 void setBindAddress(String host)
           
 void setClientSocketFactory(String factoryClassName)
          Set the RMIClientSocketFactory implementation class
 void setInstallGlobalService(boolean flag)
          Set the InstallGlobalService which defines whether the MainMBean's Naming server will be installed as the NamingContext.setLocal global value.
 void setJNPServerSocketFactory(String factoryClassName)
          Set the ServerSocketFactory implementation class
 void setPort(int p)
           
 void setRmiBindAddress(String host)
           
 void setRmiPort(int p)
           
 void setServerSocketFactory(String factoryClassName)
          Set the RMIServerSocketFactory implementation class
 void start()
           
 void stop()
           
 

Method Detail

setRmiPort

void setRmiPort(int p)

getRmiPort

int getRmiPort()

setPort

void setPort(int p)

getPort

int getPort()

getBindAddress

String getBindAddress()

setBindAddress

void setBindAddress(String host)
                    throws UnknownHostException
Throws:
UnknownHostException

getRmiBindAddress

String getRmiBindAddress()

setRmiBindAddress

void setRmiBindAddress(String host)
                       throws UnknownHostException
Throws:
UnknownHostException

getBacklog

int getBacklog()

setBacklog

void setBacklog(int backlog)

getInstallGlobalService

boolean getInstallGlobalService()
Get the InstallGlobalService which defines whether the MainMBean's Naming server will be installed as the NamingContext.setLocal global value.

Returns:
true if this is the VM global naming service, false otherwise

setInstallGlobalService

void setInstallGlobalService(boolean flag)
Set the InstallGlobalService which defines whether the MainMBean's Naming server will be installed as the NamingContext.setLocal global value.


getClientSocketFactory

String getClientSocketFactory()
Get the RMIClientSocketFactory implementation class


setClientSocketFactory

void setClientSocketFactory(String factoryClassName)
                            throws ClassNotFoundException,
                                   InstantiationException,
                                   IllegalAccessException
Set the RMIClientSocketFactory implementation class

Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

getServerSocketFactory

String getServerSocketFactory()
Get the RMIServerSocketFactory implementation class


setServerSocketFactory

void setServerSocketFactory(String factoryClassName)
                            throws ClassNotFoundException,
                                   InstantiationException,
                                   IllegalAccessException
Set the RMIServerSocketFactory implementation class

Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

setJNPServerSocketFactory

void setJNPServerSocketFactory(String factoryClassName)
                               throws ClassNotFoundException,
                                      InstantiationException,
                                      IllegalAccessException
Set the ServerSocketFactory implementation class

Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

start

void start()
           throws Exception
Throws:
Exception

stop

void stop()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.