All Packages Class Hierarchy This Package Previous Next Index
Class ninja.activeproxy.path.PathInstantiator
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----ninja.ispace.iSpaceService
|
+----ninja.activeproxy.path.PathInstantiator
- public class PathInstantiator
- extends iSpaceService
- implements PathInstantiatorIF
-
PathInstantiator()
- Create a new PathInstantiator
-
destroy()
- Tear down the ispace service
-
init(iSpaceServiceConfig)
- Start up the ispace service
-
instantiateOperator(OperatorDescription)
- Instantiate one operator
Finds available operators via SDS, not Xset (should be changed?)
Overwrites any currently installed runtime structure in op.
-
instantiatePath(PathDescription)
- Instantiate the specified PathDescription with running instances
of operators found via SDS.
PathInstantiator
public PathInstantiator() throws RemoteException
- Create a new PathInstantiator
init
protected void init(iSpaceServiceConfig config)
- Start up the ispace service
- Overrides:
- init in class iSpaceService
destroy
protected void destroy()
- Tear down the ispace service
- Overrides:
- destroy in class iSpaceService
instantiatePath
public PathDescription instantiatePath(PathDescription path) throws RemoteException
- Instantiate the specified PathDescription with running instances
of operators found via SDS.
Will overwrite the runtime object of any already instantiated operators.
For now, just use SDS directory to find operators -- eventually,
maybe we want to switch to a Xset based system?
Limitations:
- We don't notify Xset/SDS when an operator which was registered doesn't respond
- We don't rebuild the path if a registered operator doesn't respond
- Parameters:
- path - The logical path to be instantiated
- Returns:
- The instantiated path -- has to physically return a new version of the path because the client is remote (and won't see changes made to the path parameter)
instantiateOperator
public OperatorDescription instantiateOperator(OperatorDescription op) throws RemoteException
- Instantiate one operator
Finds available operators via SDS, not Xset (should be changed?)
Overwrites any currently installed runtime structure in op.
This can be used to reinstantiate a single element of a path.
- Parameters:
- op - The operator to instantiate
- Returns:
- The instantiated operator
All Packages Class Hierarchy This Package Previous Next Index