Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.flexdbserver.services
Class ServiceFactoryProperties  view ServiceFactoryProperties download ServiceFactoryProperties.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.services.ServiceFactoryProperties
Direct Known Subclasses:
ClassFactory, RMIFactory

public abstract class ServiceFactoryProperties
extends java.lang.Object

ServiceFactoryProperties The super class of all ServiceFactory 'modules' These 'modules' will then be registered with the ServiceFactory class which acts as the Mother of all service Factories This class will holds a reference to the entire services.config file (propertymapper) which is used in the factory itself (subclass) to provide the service it is building with it's section of the property map. into a static hashtable that all service Factories share


Field Summary
protected static com.flexstor.common.util.PropertyMapper serviceMap
           
protected  java.lang.String sFactoryName
           
 
Constructor Summary
(package private) ServiceFactoryProperties()
           
 
Method Summary
(package private)  java.lang.String getName()
           
(package private) abstract  ServiceContainer getService(java.lang.String serviceName)
           
protected  void printKeys(java.util.Hashtable table)
          printKeys Mostly for debug purposes prints out the contents of a hashtable
(package private)  void setProperties(com.flexstor.common.util.PropertyMapper map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceMap

protected static com.flexstor.common.util.PropertyMapper serviceMap

sFactoryName

protected java.lang.String sFactoryName
Constructor Detail

ServiceFactoryProperties

ServiceFactoryProperties()
Method Detail

getService

abstract ServiceContainer getService(java.lang.String serviceName)
                              throws com.flexstor.common.services.SrvcNotAvailException

getName

java.lang.String getName()

setProperties

void setProperties(com.flexstor.common.util.PropertyMapper map)

printKeys

protected void printKeys(java.util.Hashtable table)
printKeys Mostly for debug purposes prints out the contents of a hashtable