|
JPF 1.5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.java.plugin.ObjectFactory
org.java.plugin.standard.StandardObjectFactory
public class StandardObjectFactory
Standard object factory implementation.
| Field Summary | |
|---|---|
protected ExtendedProperties |
config
|
protected org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
StandardObjectFactory()
|
|
| Method Summary | |
|---|---|
protected void |
configure(ExtendedProperties configuration)
Configures this factory instance. |
protected java.lang.Object |
createClassInstance(java.lang.String className)
|
protected PluginLifecycleHandler |
createLifecycleHandler()
Creates new instance of plug-in life cycle handler implementation class using standard discovery algorithm to determine which handler implementation class should be instantiated. |
PluginManager |
createManager(PluginRegistry registry,
PathResolver pathResolver)
Creates new instance of plug-in manager. |
PathResolver |
createPathResolver()
Creates new instance of path resolver implementation class using standard discovery algorithm to determine which resolver implementation class should be instantiated. |
PluginRegistry |
createRegistry()
Creates new instance of plug-in registry implementation class using standard discovery algorithm to determine which registry implementation class should be instantiated. |
protected java.lang.String |
getImplClassName(java.lang.Class<?> cls)
|
| Methods inherited from class org.java.plugin.ObjectFactory |
|---|
createManager, newInstance, newInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
protected ExtendedProperties config
| Constructor Detail |
|---|
public StandardObjectFactory()
| Method Detail |
|---|
protected void configure(ExtendedProperties configuration)
ObjectFactoryObjectFactory.newInstance(ExtendedProperties).
configure in class ObjectFactoryconfiguration - factory configuration data, may be nullObjectFactory.configure(ExtendedProperties)protected java.lang.String getImplClassName(java.lang.Class<?> cls)
protected java.lang.Object createClassInstance(java.lang.String className)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundExceptionpublic PluginRegistry createRegistry()
ObjectFactory
createRegistry in class ObjectFactoryObjectFactory.createRegistry()public PathResolver createPathResolver()
ObjectFactory
createPathResolver in class ObjectFactoryObjectFactory.createPathResolver()protected PluginLifecycleHandler createLifecycleHandler()
public PluginManager createManager(PluginRegistry registry,
PathResolver pathResolver)
ObjectFactory
createManager in class ObjectFactoryObjectFactory.createManager(
org.java.plugin.registry.PluginRegistry,
org.java.plugin.PathResolver)
|
JPF 1.5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||