|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MainMBean
The Mbean interface for the jnp provider server.
Method Summary | |
---|---|
int |
getBacklog()
|
String |
getBindAddress()
|
String |
getBootstrapURL()
Returns a URL suitable for use as a java.naming.provider.url value in a set of naming environment properties; i.e. |
boolean |
getCallByValue()
Get the call by value flag for jndi lookups. |
String |
getClientSocketFactory()
|
RMIClientSocketFactory |
getClientSocketFactoryBean()
The RMIClientSocketFactory bean |
boolean |
getInstallGlobalService()
|
String |
getJNPServerSocketFactory()
|
ServerSocketFactory |
getJNPServerSocketFactoryBean()
The JNPServerSocketFactory implementation class |
Exception |
getLookupListenerException()
Get any exception seen during the lookup listening port creation |
NamingBean |
getNamingInfo()
|
Object |
getNamingProxy()
Get the externally define Naming proxy instance |
int |
getPort()
|
String |
getRmiBindAddress()
|
int |
getRmiPort()
|
String |
getServerSocketFactory()
|
RMIServerSocketFactory |
getServerSocketFactoryBean()
The RMIServerSocketFactory bean |
boolean |
getUseGlobalService()
Get the UseGlobalService which defines whether the MainMBean's Naming server will initialized from the existing NamingContext.setLocal global value. |
void |
setBacklog(int backlog)
|
void |
setBindAddress(String host)
|
void |
setCallByValue(boolean flag)
Set the call by value flag for jndi lookups. |
void |
setClientSocketFactory(String factoryClassName)
The RMIClientSocketFactory implementation class |
void |
setClientSocketFactoryBean(RMIClientSocketFactory factory)
|
void |
setInstallGlobalService(boolean flag)
Whether the MainMBean's Naming server will be installed as the NamingContext.setLocal global value |
void |
setJNPServerSocketFactory(String factoryClassName)
|
void |
setJNPServerSocketFactoryBean(ServerSocketFactory factory)
|
void |
setNamingInfo(NamingBean info)
Set the NamingBean/Naming implementation |
void |
setNamingProxy(Object proxy)
|
void |
setPort(int port)
|
void |
setRmiBindAddress(String host)
|
void |
setRmiPort(int port)
|
void |
setServerSocketFactory(String factoryClassName)
The RMIServerSocketFactory implementation class |
void |
setServerSocketFactoryBean(RMIServerSocketFactory factory)
|
void |
setUseGlobalService(boolean flag)
Set the UseGlobalService which defines whether the MainMBean's Naming server will initialized from the existing NamingContext.setLocal global value. |
void |
start()
|
void |
stop()
|
Methods inherited from interface org.jnp.server.NamingBean |
---|
getNamingInstance |
Method Detail |
---|
void setRmiPort(int port)
int getRmiPort()
void setPort(int port)
int getPort()
void setBindAddress(String host) throws UnknownHostException
UnknownHostException
String getBindAddress()
void setRmiBindAddress(String host) throws UnknownHostException
UnknownHostException
String getRmiBindAddress()
void setBacklog(int backlog)
int getBacklog()
String getBootstrapURL()
null
if no bound lookup socket existsNamingBean getNamingInfo()
void setNamingInfo(NamingBean info)
info
- boolean getCallByValue()
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.void setInstallGlobalService(boolean flag)
boolean getInstallGlobalService()
boolean getUseGlobalService()
void setUseGlobalService(boolean flag)
void setClientSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
String getClientSocketFactory()
RMIClientSocketFactory getClientSocketFactoryBean()
void setClientSocketFactoryBean(RMIClientSocketFactory factory)
void setServerSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
String getServerSocketFactory()
RMIServerSocketFactory getServerSocketFactoryBean()
void setServerSocketFactoryBean(RMIServerSocketFactory factory)
ServerSocketFactory getJNPServerSocketFactoryBean()
void setJNPServerSocketFactoryBean(ServerSocketFactory factory)
String getJNPServerSocketFactory()
void setJNPServerSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
Object getNamingProxy() throws Exception
Exception
void setNamingProxy(Object proxy) throws IOException
IOException
Exception getLookupListenerException()
void start() throws Exception
Exception
void stop() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |