com.liferay.faces.util.factory.internal
Class FactoryExtensionFinderImpl

java.lang.Object
  extended by com.liferay.faces.util.factory.FactoryExtensionFinder
      extended by com.liferay.faces.util.factory.internal.FactoryExtensionFinderImpl

public class FactoryExtensionFinderImpl
extends FactoryExtensionFinder

Author:
Neil Griffin

Constructor Summary
FactoryExtensionFinderImpl()
           
 
Method Summary
protected  Class<?> getBaseFactoryExtensionClass(Class<?> factoryClass)
           
 Object getFactoryInstance(Class<?> clazz)
           
protected  Object newFactoryInstance(Class<?> factoryExtensionClass, Class<?> baseFactoryExtensionClass, Object wrappedFactory)
           
 void registerFactory(ConfiguredElement configuredFactoryExtension)
           
 
Methods inherited from class com.liferay.faces.util.factory.FactoryExtensionFinder
getClassPathResourceAsString, getFactory, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryExtensionFinderImpl

public FactoryExtensionFinderImpl()
Method Detail

registerFactory

public void registerFactory(ConfiguredElement configuredFactoryExtension)
Specified by:
registerFactory in class FactoryExtensionFinder

newFactoryInstance

protected Object newFactoryInstance(Class<?> factoryExtensionClass,
                                    Class<?> baseFactoryExtensionClass,
                                    Object wrappedFactory)
                             throws ClassNotFoundException,
                                    InstantiationException,
                                    IllegalAccessException,
                                    IllegalArgumentException,
                                    InvocationTargetException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
IllegalArgumentException
InvocationTargetException

getBaseFactoryExtensionClass

protected Class<?> getBaseFactoryExtensionClass(Class<?> factoryClass)

getFactoryInstance

public Object getFactoryInstance(Class<?> clazz)
Specified by:
getFactoryInstance in class FactoryExtensionFinder


Copyright © 2015 Liferay, Inc.. All rights reserved.