Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface RMIAdaptorMBean
Method Summary | |
void |
|
void |
|
String |
|
String |
|
String |
|
Properties |
|
Properties |
|
String |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public void clearJNDIProperties()
Resets the JNDI properties set for this adaptor.
This method can be called only if this adaptor is not running.
- See Also:
putJNDIProperty(Object,Object)
public void clearNamingProperties()
Deprecated. Replaced by {link #clearJNDIProperties}
public String getHostAddress()
Returns the host address on which this adaptor is running
public String getHostName()
Returns the host name on which this adaptor is running
public String getJNDIName()
Returns the JNDI name under which this RMI Adaptor is registered
public Properties getJNDIProperties()
Returns the JNDI properties for this adaptor.
- See Also:
putJNDIProperty(Object,Object)
public Properties getNamingProperties()
Deprecated. Replaced by {link #getJNDIProperties}
public String getProtocol()
Returns the protocol of this adaptor
public boolean isRunning()
Returns whether this adaptor has been started and not been stopped.
- See Also:
stop()
public void putJNDIProperty(Object property, Object value)
Puts a JNDI property in the environment for the JNDI Initial Context used by this adaptor.
This method can be called only if this adaptor is not running.
- See Also:
clearJNDIProperties()
public void putNamingProperty(Object property, Object value)
Deprecated. Replaced by {link #putJNDIProperty}
public void setJNDIName(String name)
Sets the JNDI name under which the RMI adaptor should be registered.
This method can be called only if this adaptor is not running.
public void start() throws Exception
Starts this adaptor, so that it can accept incoming calls
- See Also:
stop()
,isRunning()
public void stop() throws Exception
Stops this adaptor, so that it does not accept incoming calls anymore
- See Also:
start()