org.jboss.forge.project.services
Class FacetFactory
java.lang.Object
org.jboss.forge.project.services.FacetFactory
@Dependent
public class FacetFactory
- extends Object
Responsible for instantiating Facets through CDI.
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacetFactory
@Inject
public FacetFactory(@Any
javax.enterprise.inject.Instance<Facet> instances)
getFacets
public List<Facet> getFacets()
getFacet
public <T extends Facet> T getFacet(Class<T> type)
throws FacetNotFoundException
- Throws:
FacetNotFoundException
getFacetByName
public Facet getFacetByName(String facetName)
throws FacetNotFoundException
- Throws:
FacetNotFoundException
Copyright © 2011 Seam Framework. All Rights Reserved.