|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.util.ClassFactory
org.opensubsystems.core.application.ThickClientDependentClassFactory
public class ThickClientDependentClassFactory
Class factory responsible for instantiation of classes whose implementation depends on currently used thick client gui technology. Therefore this class factory tries to instantiate the correct class based on what technology is currently used.
| Field Summary | |
|---|---|
protected java.lang.String |
m_strGuiTechnology
GUI technology used. |
| Constructor Summary | |
|---|---|
ThickClientDependentClassFactory(java.lang.String strGuiTechnology)
Constructor |
|
ThickClientDependentClassFactory(ThickClient client)
Constructor |
|
| 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. |
protected java.lang.String |
getModifier()
Get modifier which should be used together with the class identifier to construct class names. |
| Methods inherited from class org.opensubsystems.core.util.ClassFactory |
|---|
createConfiguredClassNames, createInstance, createInstance, createInstance, createInstance, getInstance, instantiateClass, setInstance, verifyInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String m_strGuiTechnology
| Constructor Detail |
|---|
public ThickClientDependentClassFactory(java.lang.String strGuiTechnology)
strGuiTechnology - - identification of GUI technology which will be
used to identify classes which use itpublic ThickClientDependentClassFactory(ThickClient client)
client - - client requesting the factory| Method Detail |
|---|
protected void createDefaultClassNames(java.lang.String strClassIdentifier,
java.lang.String strModifier,
java.util.List lstClassNames)
throws OSSException
createDefaultClassNames in class ClassFactorystrClassIdentifier - - identifier of the class for which new instance
should be createdstrModifier - - modifier used together with identifier to query
configured class name or null if none is availablelstClassNames - - container to add the possible class names to.
The classes will be tried in order as they are added
to this container.
OSSException - - an error has occured
protected java.lang.String getModifier()
throws OSSException
getModifier in class ClassFactoryOSSException - - an error has occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||