|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.xml.struct.RemoveMethod
public class RemoveMethod
This class manages the <remove-method> element of the xml DD.
Field Summary | |
---|---|
private MethodDD |
method
This remove method is linked to a Method of the Bean (with params). |
static java.lang.String |
NAME
Name of this element. |
private java.lang.Boolean |
retainIfException
boolean used to know if when there is an exception, the bean should be kept or not. |
Constructor Summary | |
---|---|
RemoveMethod()
|
Method Summary | |
---|---|
MethodDD |
getMethod()
|
java.lang.Boolean |
getRetainIfException()
|
void |
setMethod(MethodDD method)
Sets the method of the bean which needs to be marked. |
void |
setRetainIfException(boolean retainIfException)
If there is an exception, the bean should be kept or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
private MethodDD method
private java.lang.Boolean retainIfException
Constructor Detail |
---|
public RemoveMethod()
Method Detail |
---|
public void setMethod(MethodDD method)
method
- the method to usepublic MethodDD getMethod()
public void setRetainIfException(boolean retainIfException)
retainIfException
- true to keep, or false to removepublic java.lang.Boolean getRetainIfException()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |