|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer<T>
org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer<org.jboss.metadata.web.jboss.JBossWebMetaData>
org.jboss.jsfunit.microdeployer.JSFUnitDeployer
public class JSFUnitDeployer
The JSFUnitDeployer automatically adds the needed servlets and servlet filters to a WAR. It will also add all the JSFUnit classes and dependencies. Optionally, it can also add user-defined directories and jars to the classpath of the WAR.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
---|
org.jboss.deployers.spi.Ordered.OrderedComparator |
Field Summary |
---|
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
log |
Fields inherited from interface org.jboss.deployers.spi.Ordered |
---|
COMPARATOR |
Constructor Summary | |
---|---|
JSFUnitDeployer()
Create a new deployer. |
Method Summary | |
---|---|
void |
deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit,
org.jboss.metadata.web.jboss.JBossWebMetaData metaData)
|
void |
setClasspathURLs(Collection<String> classpathUrls)
A collection of URL strings to add to the classpath of the WAR. |
void |
setWarSuffixes(Collection<String> warSuffixes)
Set the collection of suffixes that this deployer will use to choose which wars to "JSFUnify". |
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer |
---|
deploy, undeploy, undeploy |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer |
---|
getInput, internalDeploy, internalUndeploy |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer |
---|
addControllerContextName, deploy, isControllerContextNameCandidate, isUseUnitName, removeControllerContextName, setUseUnitName, undeploy |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
addInput, addInput, addOutput, addOutput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSFUnitDeployer()
Method Detail |
---|
public void setWarSuffixes(Collection<String> warSuffixes)
warSuffixes
- The case-insensitive suffix (less the ".war").public void setClasspathURLs(Collection<String> classpathUrls)
classpathUrls
- The url strings.public void deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit, org.jboss.metadata.web.jboss.JBossWebMetaData metaData) throws org.jboss.deployers.spi.DeploymentException
deploy
in class org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer<org.jboss.metadata.web.jboss.JBossWebMetaData>
org.jboss.deployers.spi.DeploymentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |