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:
- 1.0, 15/07/2002
- Author:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
Field Summary |
java.lang.String |
rmiName
RMI Architecture name |
Constructor Summary |
RMIConfiguration(java.lang.String name,
java.util.Properties carolProperties)
Constructor, This constructor make a validation of the properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rmiName
public java.lang.String rmiName
- RMI Architecture name
RMIConfiguration
public RMIConfiguration(java.lang.String name,
java.util.Properties carolProperties)
throws RMIConfigurationException
- Constructor, This constructor make a validation of the properties
- Parameters:
name
- the RMI architecture name
- Throws:
RMIConfigurationException
- if one of the properties below missing: - -
to be set (see the carol specifications) -
getName
public java.lang.String getName()
- Returns:
- name
getPro
public java.lang.String getPro()
- Returns:
- Portable Remote Delegate for this protocol
getJndiProperties
public java.util.Properties getJndiProperties()
- Returns:
- the jndi properties for this protocol
getPort
public int getPort()
- Returns:
- the jndi properties port for this protocol name service -1 if the
port is not configured
getNameService
public java.lang.String getNameService()
- Returns:
- the name service class name
getInterceptorPrefix
public java.lang.String getInterceptorPrefix()
- Returns:
- the interceptor prefix, "" if there is no prefix