|
||||||||||
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.deployment.AnnotationMetaDataDeployer
org.jboss.deployment.AltAnnotationMetaDataDeployer
public class AltAnnotationMetaDataDeployer
A POST_CLASSLOADER deployer which generates metadata from annotations. Alternative option to its super class.
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.deployment.AnnotationMetaDataDeployer |
---|
CLIENT_ANNOTATED_ATTACHMENT_NAME, EJB_ANNOTATED_ATTACHMENT_NAME, WEB_ANNOTATED_ATTACHMENT_NAME |
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
log |
Fields inherited from interface org.jboss.deployers.spi.Ordered |
---|
COMPARATOR |
Constructor Summary | |
---|---|
AltAnnotationMetaDataDeployer()
|
Method Summary | |
---|---|
void |
addAnnotationClass(Class<? extends Annotation> annotation)
Add annotation to matching set. |
protected Collection<Class<?>> |
getClasses(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit,
String mainClassName,
List<org.jboss.virtual.VirtualFile> classpath)
Get the classes we want to scan. |
void |
stop()
Cleanup annotation classes. |
Methods inherited from class org.jboss.deployment.AnnotationMetaDataDeployer |
---|
deploy, deploy, getMainClassName, isMetaDataCompleteIsDefault, processJBossClientMetaData, processJBossMetaData, processJBossWebMetaData, processMetaData, setMetaDataCompleteIsDefault, undeploy, 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 AltAnnotationMetaDataDeployer()
Method Detail |
---|
protected Collection<Class<?>> getClasses(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit, String mainClassName, List<org.jboss.virtual.VirtualFile> classpath) throws IOException
AnnotationMetaDataDeployer
getClasses
in class AnnotationMetaDataDeployer
unit
- the deployment unitmainClassName
- the main class nameclasspath
- the classpath
IOException
- for any errorpublic void stop()
public void addAnnotationClass(Class<? extends Annotation> annotation)
annotation
- the annotation class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |