jrun.naming
Interface NamingServiceMBean

All Superinterfaces:
java.io.Serializable, Service, ServiceMBean
All Known Implementing Classes:
NamingService

public interface NamingServiceMBean
extends ServiceMBean

The manageable interface for the JRun JNDI provider. The provider is manageable from a client's perspective using the standard jndi.properties file, which configures the default Contexts for servers by being in SERVER-INF, and should be in the CLASSPATH of any non-server component client. See the JNDI specs for more info on jndi.properties.

Author:
PS Neville

Field Summary
static int AUTH
           
static int CLUSTER
           
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 int getJRMPPort()
           
 int getOrbPort()
           
 int getPort()
           
 boolean isUsingCORBA()
           
 void restartJNDI()
           
 void setJRMPPort(int port)
           
 void setOrbPort(int port)
           
 void setPort(int port)
           
 void setUsingCORBA(boolean b)
           
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Field Detail

CLUSTER

public static final int CLUSTER

AUTH

public static final int AUTH
Method Detail

setPort

public void setPort(int port)

getPort

public int getPort()

setJRMPPort

public void setJRMPPort(int port)

getJRMPPort

public int getJRMPPort()

setOrbPort

public void setOrbPort(int port)

getOrbPort

public int getOrbPort()

isUsingCORBA

public boolean isUsingCORBA()

setUsingCORBA

public void setUsingCORBA(boolean b)

restartJNDI

public void restartJNDI()
                 throws java.lang.Exception


Copyright � 2002 Macromedia Corporation. All Rights Reserved.