com.bm.ejb3metadata.annotations.impl
Class JApplicationException
java.lang.Object
com.bm.ejb3metadata.annotations.impl.JApplicationException
- All Implemented Interfaces:
- java.lang.annotation.Annotation, ApplicationException
public class JApplicationException
- extends java.lang.Object
- implements ApplicationException
Acts as an implementation of @ApplicationException
annotation.
- Author:
- Daniel Wiese
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 |
JApplicationException
public JApplicationException()
- Build an object which represents @
ApplicationException
annotation.
Default value for rollback is false.
JApplicationException
public JApplicationException(boolean rollback)
- Build an object which represents @
ApplicationException
annotation with a given boolean.
- Parameters:
rollback
- true/false (false is a default value)
rollback
public boolean rollback()
- Returns:
- the retainIfException value (true/false)
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interface java.lang.annotation.Annotation
- Returns:
- annotation type
toString
public java.lang.String toString()
- Specified by:
toString
in interface java.lang.annotation.Annotation
- Overrides:
toString
in class java.lang.Object
- Returns:
- string representation
Copyright © 2008. All Rights Reserved.