Class COM.ibm.jaws.services.sroot.SRootNC
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.jaws.services.sroot.SRootNC

java.lang.Object
   |
   +----COM.ibm.jaws.motk.BaseAO
           |
           +----COM.ibm.jaws.motk.BaseQC
                   |
                   +----COM.ibm.jaws.motk.BaseKC
                           |
                           +----COM.ibm.jaws.motk.BaseNC
                                   |
                                   +----COM.ibm.jaws.services.sroot.SRootNC

public class SRootNC
extends BaseNC

Variable Index

 o d
 o root
 o table

Constructor Index

 o SRootNC()
 o SRootNC(int)

Method Index

 o addIdentifier(String, String)
Binds key to an object id.
 o addManageable(String, Manageable)
Binds key to a Manageable object.
 o addMOEntries(String, String, String)
Add entries as required for managed objects.
 o addORBEntries(String, String, String)
Add entries as required for remoteable objects.
 o addString(String, String)
Binds key to value.
 o bind(String, Object)
 o evaluate(String, String)
 o externalizeToStream(OutputEDStream)
Use this method to export the Manageable object's essential data (ED) to a "sink" represented by an OutputEDStream.
 o internalizeFromStream(InputEDStream)
Use this method to import the Manageable object's essential data (ED) from a "source" represented by an InputEDStream.
 o rebind(String, Object)
 o resolve(String)
Provides support for absolute key paths, you need to override this and add support for relatitive key paths.
 o setRoot(BaseCollection)
 o unbind(String)

Variables

 o d
  public static Debug d
 o table
  protected Hashtable table
 o root
  protected BaseCollection root

Constructors

 o SRootNC
  public SRootNC()
 o SRootNC
  public SRootNC(int initalSize)

Methods

 o setRoot
  public void setRoot(BaseCollection root)
 o externalizeToStream
  public void externalizeToStream(OutputEDStream out)
Use this method to export the Manageable object's essential data (ED) to a "sink" represented by an OutputEDStream.
Overrides:
externalizeToStream in class BaseAO
 o internalizeFromStream
  public void internalizeFromStream(InputEDStream in)
Use this method to import the Manageable object's essential data (ED) from a "source" represented by an InputEDStream.
Overrides:
internalizeFromStream in class BaseAO
 o evaluate
  public Iterator evaluate(String queryParameters,
                           String queryKey)
Overrides:
evaluate in class BaseQC
 o resolve
  public Object resolve(String key)
Provides support for absolute key paths, you need to override this and add support for relatitive key paths.
Overrides:
resolve in class BaseKC
 o bind
  public boolean bind(String name,
                      Object target)
Overrides:
bind in class BaseNC
 o unbind
  public void unbind(String name)
Overrides:
unbind in class BaseNC
 o rebind
  public void rebind(String name,
                     Object target)
Overrides:
rebind in class BaseNC
 o addORBEntries
  public void addORBEntries(String ObjectInterface,
                            String ORBPackage,
                            String stubSkeletonPackage)
Add entries as required for remoteable objects.
Parameters:
ObjectInterface - The fully qualified interface name of the remoteable object.

Note: I think we have a naming limitation for stub and skeletons. They need to use the fully qualified name of the interface or some other uniqueing rule.

ORBPackage - The fully qualified package name of the ORB. E.g., COM.ibm.corba.iiop.
stubSkeletonPackage - The fully qualified package of the emitted stub and skeleton objects. They must be named by added "stub" or "skeleton" to the end of the base name of the object's interface.
 o addMOEntries
  public void addMOEntries(String ObjectInterface,
                           String BCPackage,
                           String MOClassName)
Add entries as required for managed objects.
Parameters:
ObjectInterface - The fully qualified interface name of the remoteable object.

Note: I think we have a naming limitation for MOs They need to use the fully qualified name of the interface or some other uniqueing rule.

BCPackage - The fully qualified package name of the BC. E.g., COM.ibm.jaws.services.flex.
MO - The fully qualified class name of the emitted MO object.
 o addString
  public void addString(String key,
                        String value)
Binds key to value.
Parameters:
key - the key to use with resolve to find this value.
value - the string to be returned from resolve.
 o addIdentifier
  public void addIdentifier(String key,
                            String id)
Binds key to an object id.
Parameters:
key - the key to use with resolve to find the indicated MO.
id - the id of an object. This id will be resolved with the root bc and the resulting object will be returned when the specified key is resolved in this KC. Note: the id will not be resolved with the root bc until the first request for this key. Therefore the object need not exist at the time of this call.
 o addManageable
  public void addManageable(String key,
                            Manageable obj)
Binds key to a Manageable object.
Parameters:
key - the key to use with resolve to find this object.
obj - the Manageable object to be returned from resolve.

All Packages  Class Hierarchy  This Package  Previous  Next  Index