org.java.plugin.extension
Class GuicyObjectFactory
java.lang.Object
org.java.plugin.ObjectFactory
org.java.plugin.standard.StandardObjectFactory
org.java.plugin.extension.GuicyObjectFactory
public class GuicyObjectFactory
- extends StandardObjectFactory
Author: thasso
Date: May 8, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuicyObjectFactory
@Inject
public GuicyObjectFactory(com.google.inject.Injector injector)
createClassInstance
protected java.lang.Object createClassInstance(java.lang.String className)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
- Overrides:
createClassInstance
in class StandardObjectFactory
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
createRegistry
public PluginRegistry createRegistry()
- Description copied from class:
ObjectFactory
- Creates new instance of plug-in registry implementation class using
standard discovery algorithm to determine which registry implementation
class should be instantiated.
- Overrides:
createRegistry
in class StandardObjectFactory
- Returns:
- new registry instance
- See Also:
ObjectFactory.createRegistry()
createPathResolver
public PathResolver createPathResolver()
- Description copied from class:
ObjectFactory
- Creates new instance of path resolver implementation class using standard
discovery algorithm to determine which resolver implementation class
should be instantiated.
- Overrides:
createPathResolver
in class StandardObjectFactory
- Returns:
- new path resolver instance
- See Also:
ObjectFactory.createPathResolver()
createLifecycleHandler
protected PluginLifecycleHandler createLifecycleHandler()
- Description copied from class:
StandardObjectFactory
- Creates new instance of plug-in life cycle handler implementation class
using standard discovery algorithm to determine which handler
implementation class should be instantiated.
- Overrides:
createLifecycleHandler
in class StandardObjectFactory
- Returns:
- new plug-in life cycle handler instance
createManager
public PluginManager createManager(PluginRegistry registry,
PathResolver pathResolver)
- Description copied from class:
ObjectFactory
- Creates new instance of plug-in manager.
- Overrides:
createManager
in class StandardObjectFactory
- Returns:
- new plug-in manager instance
- See Also:
ObjectFactory.createManager(
org.java.plugin.registry.PluginRegistry,
org.java.plugin.PathResolver)
Copyright © 2010. All Rights Reserved.