|
||||||||||
| 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<org.jboss.classloading.spi.dependency.Module>
org.jboss.deployers.plugins.annotations.GenericAnnotationDeployer
public class GenericAnnotationDeployer
Generic annotation scanner deployer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
|---|
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 | |
|---|---|
GenericAnnotationDeployer()
|
|
| Method Summary | |
|---|---|
protected javassist.ClassPool |
createClassPool(ClassLoader classLoader)
Create class pool. |
protected GenericAnnotationResourceVisitor |
createGenericAnnotationResourceVisitor(DeploymentUnit unit,
javassist.ClassPool pool,
ClassLoader classLoader)
Create GenericAnnotationResourceVisitor. |
void |
deploy(DeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module)
|
protected URL[] |
getUrls(DeploymentUnit unit)
Get the new root urls. |
void |
setCheckInterfaces(boolean checkInterfaces)
Should we check interfaces for annotations as well. |
void |
setForceAnnotations(boolean forceAnnotations)
Should we force all annotations to be available. |
void |
setKeepAnnotations(boolean keepAnnotations)
Set the keep annotations flag. |
protected void |
visitModule(DeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module,
GenericAnnotationResourceVisitor visitor)
Visit module. |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer |
|---|
getInput, internalDeploy, internalUndeploy, undeploy |
| 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 GenericAnnotationDeployer()
| Method Detail |
|---|
public void setForceAnnotations(boolean forceAnnotations)
forceAnnotations - the force annotations flagpublic void setKeepAnnotations(boolean keepAnnotations)
keepAnnotations - the keep annotations flagpublic void setCheckInterfaces(boolean checkInterfaces)
checkInterfaces - the check interfaces flag
protected GenericAnnotationResourceVisitor createGenericAnnotationResourceVisitor(DeploymentUnit unit,
javassist.ClassPool pool,
ClassLoader classLoader)
unit - the deployment unitpool - the class poolclassLoader - the classloader
protected javassist.ClassPool createClassPool(ClassLoader classLoader)
classLoader - the class loader
protected void visitModule(DeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module,
GenericAnnotationResourceVisitor visitor)
unit - the deployment unitmodule - the modulevisitor - the resource visitorprotected URL[] getUrls(DeploymentUnit unit)
unit - the deployment unit
public void deploy(DeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module)
throws DeploymentException
deploy in class AbstractSimpleRealDeployer<org.jboss.classloading.spi.dependency.Module>DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||