|
||||||||||
| 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.AbstractOptionalRealDeployer<T>
org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer<org.jboss.classloading.spi.dependency.Module>
org.jboss.deployers.vfs.plugins.annotations.AnnotationEnvironmentDeployer
public class AnnotationEnvironmentDeployer
A POST_CLASSLOADER deployer which creates AnnotationEnvironment for sub-deployments.
| 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 | |
|---|---|
AnnotationEnvironmentDeployer()
|
|
| Method Summary | |
|---|---|
protected javassist.ClassPool |
createClassPool(ClassLoader classLoader)
Deprecated. |
protected javassist.ClassPool |
createClassPool(VFSDeploymentUnit unit)
Create class pool. |
protected GenericAnnotationResourceVisitor |
createGenericAnnotationResourceVisitor(DeploymentUnit unit,
javassist.ClassPool pool,
ClassLoader classLoader)
Create GenericAnnotationResourceVisitor. |
void |
deploy(VFSDeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module)
Deploy a deployment |
protected URL[] |
getUrls(VFSDeploymentUnit unit)
Get the matching urls. |
void |
setCheckInterfaces(boolean checkInterfaces)
Should we check interfaces for annotations as well. |
void |
setFilter(VFSDeploymentUnitFilter filter)
Set vfs deployment filter. |
void |
setForceAnnotations(boolean forceAnnotations)
Should we force all annotations to be available. |
void |
setKeepAnnotations(boolean keepAnnotations)
Set the keep annotations flag. |
protected void |
visitModule(VFSDeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module,
GenericAnnotationResourceVisitor visitor)
Visit module. |
| Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer |
|---|
deploy, undeploy, undeploy |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer |
|---|
internalDeploy, internalUndeploy, setDisableOptional |
| 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, getInput, 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 AnnotationEnvironmentDeployer()
| 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 flagpublic void setFilter(VFSDeploymentUnitFilter filter)
filter - the vfs deployment filter.
protected GenericAnnotationResourceVisitor createGenericAnnotationResourceVisitor(DeploymentUnit unit,
javassist.ClassPool pool,
ClassLoader classLoader)
unit - the deployment unitpool - the class poolclassLoader - the classloader
@Deprecated protected javassist.ClassPool createClassPool(ClassLoader classLoader)
classLoader - the class loader
protected javassist.ClassPool createClassPool(VFSDeploymentUnit unit)
unit - the deployment unit
protected void visitModule(VFSDeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module,
GenericAnnotationResourceVisitor visitor)
throws DeploymentException
unit - the deployment unitmodule - the modulevisitor - the resource visitor
DeploymentException - for any error
protected URL[] getUrls(VFSDeploymentUnit unit)
throws Exception
unit - the deployment unit
Exception - for any error
public void deploy(VFSDeploymentUnit unit,
org.jboss.classloading.spi.dependency.Module module)
throws DeploymentException
AbstractOptionalVFSRealDeployer
deploy in class AbstractOptionalVFSRealDeployer<org.jboss.classloading.spi.dependency.Module>unit - the unitmodule - the attachment
DeploymentException - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||