org.objectweb.carol.util.configuration

Class 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

String
rmiName
RMI Architecture name

Constructor Summary

RMIConfiguration(String name, Properties carolProperties)
Constructor, This constructor make a validation of the properties

Method Summary

String
getInterceptorPrefix()
Properties
getJndiProperties()
String
getName()
String
getNameService()
int
getPort()
String
getPro()

Field Details

rmiName

public String rmiName
RMI Architecture name

Constructor Details

RMIConfiguration

public RMIConfiguration(String name,
                        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) -

Method Details

getInterceptorPrefix

public String getInterceptorPrefix()

Returns:
the interceptor prefix, "" if there is no prefix


getJndiProperties

public Properties getJndiProperties()

Returns:
the jndi properties for this protocol


getName

public String getName()

Returns:
name


getNameService

public String getNameService()

Returns:
the name service class name


getPort

public int getPort()

Returns:
the jndi properties port for this protocol name service -1 if the port is not configured


getPro

public String getPro()

Returns:
Portable Remote Delegate for this protocol