org.opensubsystems.core.logic
Class ControllerClassFactory

java.lang.Object
  extended by org.opensubsystems.core.util.ClassFactory
      extended by org.opensubsystems.core.logic.ControllerClassFactory

public class ControllerClassFactory
extends ClassFactory

Class factory responsible for instantiation of controllers. The correct controller is instantiated based on the controller interface and currently active component model.

Version:
$Id: ControllerClassFactory.java,v 1.4 2007/01/07 06:15:14 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.2 2004/12/18 06:18:39 bastafidli

Constructor Summary
ControllerClassFactory()
           
 
Method Summary
protected  void createDefaultClassNames(java.lang.String strClassIdentifier, java.lang.String strModifier, java.util.List lstClassNames)
          Create new class name based on the specified identifier and modifier.
 
Methods inherited from class org.opensubsystems.core.util.ClassFactory
createConfiguredClassNames, createInstance, createInstance, createInstance, createInstance, getInstance, getModifier, instantiateClass, setInstance, verifyInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerClassFactory

public ControllerClassFactory()
Method Detail

createDefaultClassNames

protected void createDefaultClassNames(java.lang.String strClassIdentifier,
                                       java.lang.String strModifier,
                                       java.util.List lstClassNames)
                                throws OSSException
Create new class name based on the specified identifier and modifier.

Overrides:
createDefaultClassNames in class ClassFactory
Parameters:
strClassIdentifier - - identifier of the class for which new instance should be created
strModifier - - modifier used together with identifier to query configured class name or null if none is available
lstClassNames - - container to add the possible class names to. The classes will be tried in order as they are added to this container.
Throws:
OSSException - - an error has occured


Copyright © 2003 - 2006 OpenSubsystems s.r.o.