|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.annotations.impl.JApplicationException
public class JApplicationException
Acts as an implementation of @ApplicationException
annotation.
Field Summary | |
---|---|
private java.lang.String |
className
Name of the class that is flagged as ApplicationException. |
static java.lang.String |
NAME
Name of this element (Deployment desc). |
private boolean |
rollback
Container rollback the transaction ? if an exception is thrown. |
Constructor Summary | |
---|---|
JApplicationException()
Build an object which represents @ ApplicationException
annotation.Default value for rollback is false. |
|
JApplicationException(boolean rollback)
Build an object which represents @ ApplicationException
annotation with a given boolean. |
|
JApplicationException(java.lang.String className,
boolean rollback)
Build an object which represents @ ApplicationException
annotation with a given boolean. |
Method Summary | |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
|
java.lang.String |
getClassName()
|
boolean |
rollback()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.annotation.Annotation |
---|
equals, hashCode |
Field Detail |
---|
public static final java.lang.String NAME
private boolean rollback
private java.lang.String className
Constructor Detail |
---|
public JApplicationException()
ApplicationException
annotation.
public JApplicationException(boolean rollback)
ApplicationException
annotation with a given boolean.
rollback
- true/false (false is a default value)public JApplicationException(java.lang.String className, boolean rollback)
ApplicationException
annotation with a given boolean.
className
- the name of the class which is the application
exception.rollback
- true/false (false is a default value)Method Detail |
---|
public boolean rollback()
public java.lang.String getClassName()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType
in interface java.lang.annotation.Annotation
public java.lang.String toString()
toString
in interface java.lang.annotation.Annotation
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |