Forge - Parent 1.4.2-SNAPSHOT

org.jboss.forge.spec.javaee
Interface CDIFacet

All Superinterfaces:
Facet

public interface CDIFacet
extends Facet

If installed, this Project supports features from the CDI specification.

Author:
Lincoln Baxter, III

Method Summary
 org.jboss.shrinkwrap.descriptor.api.spec.cdi.beans.BeansDescriptor getConfig()
          Parse and return this Project's beans.xml file as a BeansDescriptor
 FileResource<?> getConfigFile()
          Get a reference to this Project's beans.xml file.
 void saveConfig(org.jboss.shrinkwrap.descriptor.api.spec.cdi.beans.BeansDescriptor model)
          Save the given BeansDescriptor as this Project's beans.xml file
 
Methods inherited from interface org.jboss.forge.project.Facet
getProject, install, isInstalled, setProject, uninstall
 

Method Detail

getConfig

org.jboss.shrinkwrap.descriptor.api.spec.cdi.beans.BeansDescriptor getConfig()
Parse and return this Project's beans.xml file as a BeansDescriptor


saveConfig

void saveConfig(org.jboss.shrinkwrap.descriptor.api.spec.cdi.beans.BeansDescriptor model)
Save the given BeansDescriptor as this Project's beans.xml file


getConfigFile

FileResource<?> getConfigFile()
Get a reference to this Project's beans.xml file.


Forge - Parent 1.4.2-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.