|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.deployment.AbstractDeploymentHandler
public abstract class AbstractDeploymentHandler
Abstract base class for DeploymentHandler
providing common functionality
Constructor Summary | |
---|---|
AbstractDeploymentHandler()
|
Method Summary | |
---|---|
protected static String |
filenameToClassname(String filename)
Convert a path to a class file to a class name |
protected String |
getAnnotationValue(javassist.bytecode.ClassFile classFile,
Class<? extends Annotation> annotationType,
String memberName)
Get the value of the annotation on the Javassist ClassFile , or null
if the class doesn't have that annotation |
protected javassist.bytecode.ClassFile |
getClassFile(String name,
ClassLoader classLoader)
Get a Javassist ClassFile for a given class name from the classLoader |
protected boolean |
hasAnnotation(javassist.bytecode.ClassFile classFile,
Class<? extends Annotation> annotationType)
Check if the Javassist ClassFile has the specfied annotation |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.seam.deployment.DeploymentHandler |
---|
getName, handle |
Constructor Detail |
---|
public AbstractDeploymentHandler()
Method Detail |
---|
protected static String filenameToClassname(String filename)
protected javassist.bytecode.ClassFile getClassFile(String name, ClassLoader classLoader) throws IOException
ClassFile
for a given class name from the classLoader
IOException
protected boolean hasAnnotation(javassist.bytecode.ClassFile classFile, Class<? extends Annotation> annotationType)
ClassFile
has the specfied annotation
protected String getAnnotationValue(javassist.bytecode.ClassFile classFile, Class<? extends Annotation> annotationType, String memberName)
ClassFile
, or null
if the class doesn't have that annotation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |