net.sourceforge.jfacets.groovy
Class GroovyFacetFactory
java.lang.Object
net.sourceforge.jfacets.groovy.GroovyFacetFactory
- All Implemented Interfaces:
- IFacetFactory
public class GroovyFacetFactory
- extends Object
- implements IFacetFactory
The GroovyFacetFactory, responsible of creating Groovy Facets.
A fallback factory can be specified, in case you want to use Groovy and
regular facets in the same app.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyFacetFactory
public GroovyFacetFactory()
createFacet
public Object createFacet(FacetDescriptor d)
- Creates a GroovyFacet for passed descriptor.
Depending on what's in the script (a facet class declaration
or just the execute script), creates and return the
appropriate facet.
- Specified by:
createFacet in interface IFacetFactory
getFallbackFactory
public IFacetFactory getFallbackFactory()
setFallbackFactory
public void setFallbackFactory(IFacetFactory fallbackFactory)
Copyright © 2012. All Rights Reserved.