org.objectweb.carol.util.configuration
Class RMIConfiguration
java.lang.Object
org.objectweb.carol.util.configuration.RMIConfiguration
public class RMIConfiguration
extends java.lang.Object
Class RmiConfiguration
implement the Properties way
representing the rmi configuration
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
String | rmiName - RMI Architecture name
|
RMIConfiguration(String name, Properties carolProperties) - Constructor, This constructor make a validation of the properties
|
rmiName
public String rmiName
RMI Architecture name
RMIConfiguration
public RMIConfiguration(String name,
Properties carolProperties)
throws RMIConfigurationException
Constructor, This constructor make a validation of the properties
name
- the RMI architecture name
RMIConfigurationException
- if one of the properties below missing: - -
to be set (see the carol specifications) -
getInterceptorPrefix
public String getInterceptorPrefix()
- the interceptor prefix, "" if there is no prefix
getJndiProperties
public Properties getJndiProperties()
- the jndi properties for this protocol
getName
public String getName()
- name
getNameService
public String getNameService()
- the name service class name
getPort
public int getPort()
- the jndi properties port for this protocol name service -1 if the
port is not configured
getPro
public String getPro()
- Portable Remote Delegate for this protocol