|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.higgins.configuration.common.ConfigurableComponentFactoryHelper
Convenience class that implements code required to get a singleton instance from an ObejctFactory.
| Constructor Summary | |
|---|---|
ConfigurableComponentFactoryHelper()
|
|
| Method Summary | |
|---|---|
static org.eclipse.higgins.configuration.api.IConfigurableComponent |
getFromFactory(String factoryClassName)
Load the class by name then creates an instance |
static org.eclipse.higgins.configuration.api.IConfigurableComponent |
getInstanceFromClassName(String className)
Load the class by name |
static org.eclipse.higgins.configuration.api.IConfigurableComponent |
getSingletonFromClassName(String className)
Load the class by name |
static org.eclipse.higgins.configuration.api.IConfigurableComponent |
getSingletonFromFactory(String factoryClassName)
Load the class by name then creates an instance |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurableComponentFactoryHelper()
| Method Detail |
public static org.eclipse.higgins.configuration.api.IConfigurableComponent getInstanceFromClassName(String className)
throws Exception
className - the name of the class to load and create an instance of
Exception
public static org.eclipse.higgins.configuration.api.IConfigurableComponent getSingletonFromClassName(String className)
throws Exception
className - the name of the class to load and create an instance of
Exception
public static org.eclipse.higgins.configuration.api.IConfigurableComponent getSingletonFromFactory(String factoryClassName)
throws Exception
factoryClassName - the name of the class to load and create an instance from
Exception
public static org.eclipse.higgins.configuration.api.IConfigurableComponent getFromFactory(String factoryClassName)
throws Exception
factoryClassName - the name of the class to load and create an instance from
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||