org.objectweb.carol.util.configuration
Class RMIConfiguration

java.lang.Object
  |
  +--org.objectweb.carol.util.configuration.RMIConfiguration

public class RMIConfiguration
extends java.lang.Object


Field Summary
 java.lang.String rmiName
          RMI Architecture name
 
Constructor Summary
RMIConfiguration(java.lang.String name, java.util.Properties rmiProperties, java.util.Properties jndiProperties)
          Constructor, This constructor make a validation of the properties
 
Method Summary
 void activate()
          activate this rmi
 void desactivate()
          desactivate this rmi
 java.util.Properties getJndiProperties()
           
 java.lang.String getName()
           
 java.lang.String getPro()
           
 boolean isActivate()
           
 java.lang.String toString()
          to String method return the String for this context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rmiName

public java.lang.String rmiName
RMI Architecture name

Constructor Detail

RMIConfiguration

public RMIConfiguration(java.lang.String name,
                        java.util.Properties rmiProperties,
                        java.util.Properties jndiProperties)
                 throws RMIConfigurationException
Constructor, This constructor make a validation of the properties

Parameters:
name - the RMI architecture name
rmiProperties - The rmi properties, can not be null
jndiProperties - The jndi properties, should be null if the jndi properties informations are set in the rmiProperties
Throws:
RMIConfigurationException - if one of the properties below missing: - - to be set (see the carol specifications) -
Method Detail

getName

public java.lang.String getName()
Returns:
name

activate

public void activate()
activate this rmi


desactivate

public void desactivate()
desactivate this rmi


isActivate

public boolean isActivate()
Returns:
boolean for activation

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

toString

public java.lang.String toString()
to String method return the String for this context

Overrides:
toString in class java.lang.Object
Returns:
String environement