Node Director
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sfi.director.application.autodoc.ServiceDepContainer Class Reference

service dependency container More...

Public Member Functions

 ServiceDepContainer ()
 class members => ClassOfObjects
void addDependencies (DocInfo info) throws DirectorException
void addDependencies (DocInfo info, ServiceDependency host) throws DirectorException
Vector serviceBySpec (Vector specs)
ServiceDependency serviceBySpec (String spec)
void registerService (ServiceDependency service)
ServiceDependency get (String id)
ServiceDependency getBySpec (String spec)
void addToClass (String objName, String type, Vector classNames)
ClassOfObjects getClass (String id)
ClassOfObjects getClassByMembers (Vector members)
void finish ()
 If dependency information is complete (no more dependencies to add), finish() must be called in order to generate class related information.
String serialize ()
void deserialize (Reader input) throws DirectorException

Protected Member Functions

void serialize (StringBuffer buff, Enumeration dependencies, String prefix)

Protected Attributes

Hashtable serviceIndex = new Hashtable()
Hashtable classIndex = new Hashtable()
 name => ServiceDependency
Hashtable membersIndex = new Hashtable()
 class => ClassOfObjects

Detailed Description

service dependency container

Constructor & Destructor Documentation

sfi.director.application.autodoc.ServiceDepContainer.ServiceDepContainer ( )

class members => ClassOfObjects

Member Function Documentation

void sfi.director.application.autodoc.ServiceDepContainer.addDependencies ( DocInfo  info) throws DirectorException
void sfi.director.application.autodoc.ServiceDepContainer.addDependencies ( DocInfo  info,
ServiceDependency  host 
) throws DirectorException
void sfi.director.application.autodoc.ServiceDepContainer.addToClass ( String  objName,
String  type,
Vector  classNames 
)
void sfi.director.application.autodoc.ServiceDepContainer.deserialize ( Reader  input) throws DirectorException
void sfi.director.application.autodoc.ServiceDepContainer.finish ( )
ServiceDependency sfi.director.application.autodoc.ServiceDepContainer.get ( String  id)
ServiceDependency sfi.director.application.autodoc.ServiceDepContainer.getBySpec ( String  spec)
ClassOfObjects sfi.director.application.autodoc.ServiceDepContainer.getClass ( String  id)
ClassOfObjects sfi.director.application.autodoc.ServiceDepContainer.getClassByMembers ( Vector  members)
void sfi.director.application.autodoc.ServiceDepContainer.registerService ( ServiceDependency  service)
void sfi.director.application.autodoc.ServiceDepContainer.serialize ( StringBuffer  buff,
Enumeration  dependencies,
String  prefix 
)
protected
String sfi.director.application.autodoc.ServiceDepContainer.serialize ( )
Vector sfi.director.application.autodoc.ServiceDepContainer.serviceBySpec ( Vector  specs)
ServiceDependency sfi.director.application.autodoc.ServiceDepContainer.serviceBySpec ( String  spec)

Member Data Documentation

Hashtable sfi.director.application.autodoc.ServiceDepContainer.classIndex = new Hashtable()
protected
Hashtable sfi.director.application.autodoc.ServiceDepContainer.membersIndex = new Hashtable()
protected
Hashtable sfi.director.application.autodoc.ServiceDepContainer.serviceIndex = new Hashtable()
protected

The documentation for this class was generated from the following file: