org.objectweb.proactive.core.component
Class ComponentParameters

java.lang.Object
  |
  +--org.objectweb.proactive.core.component.ComponentParameters
All Implemented Interfaces:
java.io.Serializable

public class ComponentParameters
extends java.lang.Object
implements java.io.Serializable

Contains the configuration of a component : - type - interfaces (server and client) --> in contained ControllerDescription object - name --> in contained ControllerDescription object - hierarchical type (primitive or composite) --> in contained ControllerDescription object - a ref on the stub on the base object

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
ComponentParameters(ComponentType componentType, ControllerDescription controllerDesc)
          Constructor
ComponentParameters(java.lang.String name, java.lang.String hierarchicalType, ComponentType componentType)
          Constructor for ComponentParameters.
 
Method Summary
 java.lang.Object clone()
          overrides the clone method of Object
 InterfaceType[] getClientInterfaceTypes()
           
 ComponentType getComponentType()
          Returns the componentType.
 ControllerDescription getControllerDescription()
          getter
 java.lang.String getHierarchicalType()
          Returns the hierarchicalType.
 InterfaceType[] getInterfaceTypes()
          getter
 java.lang.String getName()
          getter
 InterfaceType[] getServerInterfaceTypes()
           
 java.lang.Object getStubOnReifiedObject()
          accessor on the standard ProActive stub
 void setComponentType(ComponentType componentType)
          setter
 void setHierarchicalType(java.lang.String string)
          setter
 void setName(java.lang.String name)
          setter for the name
 void setStubOnReifiedObject(java.lang.Object object)
          keeps a reference on the standard ProActive stub
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

ComponentParameters

public ComponentParameters(java.lang.String name,
                           java.lang.String hierarchicalType,
                           ComponentType componentType)
Constructor for ComponentParameters.

Parameters:
name - the name of the component
hierarchicalType - the hierarchical type, either PRIMITIVE or COMPOSITE or PARALLEL
componentType -

ComponentParameters

public ComponentParameters(ComponentType componentType,
                           ControllerDescription controllerDesc)
Constructor

Parameters:
componentType - the type of the component
controllerDesc - a ControllerDescription object
Method Detail

clone

public java.lang.Object clone()
overrides the clone method of Object

Overrides:
clone in class java.lang.Object
Returns:
a clone of this current object

setName

public void setName(java.lang.String name)
setter for the name

Parameters:
name - name of the component

getComponentType

public ComponentType getComponentType()
Returns the componentType.

Returns:
ComponentType

getControllerDescription

public ControllerDescription getControllerDescription()
getter

Returns:
a ControllerDescription object

setComponentType

public void setComponentType(ComponentType componentType)
setter

Parameters:
componentType - the type of the component

setHierarchicalType

public void setHierarchicalType(java.lang.String string)
setter

Parameters:
string - the hierarchical type (primitive, composite or parallel)

getName

public java.lang.String getName()
getter

Returns:
the name

getHierarchicalType

public java.lang.String getHierarchicalType()
Returns the hierarchicalType.

Returns:
String

getServerInterfaceTypes

public InterfaceType[] getServerInterfaceTypes()
Returns:
the types of server interfaces

getClientInterfaceTypes

public InterfaceType[] getClientInterfaceTypes()
Returns:
the types of client interfacess

getStubOnReifiedObject

public java.lang.Object getStubOnReifiedObject()
accessor on the standard ProActive stub

Returns:
standard ProActive stub on the reified object

setStubOnReifiedObject

public void setStubOnReifiedObject(java.lang.Object object)
keeps a reference on the standard ProActive stub


getInterfaceTypes

public InterfaceType[] getInterfaceTypes()
getter

Returns:
a table of interface types


Copyright © April 2004 INRIA All Rights Reserved.