net.sourceforge.jfacets.impl
Class DefaultFacetFactory

java.lang.Object
  extended by net.sourceforge.jfacets.impl.DefaultFacetFactory
All Implemented Interfaces:
IFacetFactory

public class DefaultFacetFactory
extends java.lang.Object
implements IFacetFactory

Default facet factory implementation : creates facets using Class.newInstance().

Author:
Remi VANKEISBELCK - rvkb.com (remi 'at' rvkb.com)

Field Summary
private static JFacetsLogger logger
           
 
Constructor Summary
DefaultFacetFactory()
           
 
Method Summary
 java.lang.Object createFacet(FacetDescriptor d)
          Creates the facet for passed descriptor using Class.newInstance().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final JFacetsLogger logger
Constructor Detail

DefaultFacetFactory

public DefaultFacetFactory()
Method Detail

createFacet

public java.lang.Object createFacet(FacetDescriptor d)
Creates the facet for passed descriptor using Class.newInstance(). Return null and logs an ERROR if an error occured while invoking no-args constructor.

Specified by:
createFacet in interface IFacetFactory


Copyright © 2010. All Rights Reserved.