|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_web.deployment.api.MethodDesc
Defines a Method object. It manages exclued, unchecked methods with the right transportGuarantee. It also manages the roles which were defined for this method
Constructor Summary | |
MethodDesc(java.lang.String name)
Constructor Build a Method with the right type |
Method Summary | |
void |
addRole(java.lang.String role,
java.lang.String transportGuaranteeRoleValue)
Add role with its transportGuarantee to this method |
void |
addTransportGuarantee(java.lang.String transportGuaranteeValue)
Defines the transport guarantee |
boolean |
equals(java.lang.Object other)
Defined the Equals method true if it is the same name |
java.lang.String |
getName()
Gets the name of the Method |
java.util.Iterator |
getRolesIterator()
Gets iterator on roles |
TransportGuaranteeDesc |
getTransportGuarantee()
Gets the transport guarantee |
int |
hashCode()
Gets the hashcode for this object |
boolean |
hasRole()
Test if there are roles for this method |
boolean |
isExcluded()
Is this method excluded ? |
boolean |
isUnchecked()
Is this method unchecked ? |
void |
setExcluded()
Set this method excluded |
void |
setUnchecked()
Set this method unchecked |
java.lang.String |
toString()
String representation |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MethodDesc(java.lang.String name)
name
- the name of the methodMethod Detail |
public boolean isExcluded()
public boolean isUnchecked()
public void setExcluded()
public void setUnchecked()
public void addTransportGuarantee(java.lang.String transportGuaranteeValue)
transportGuaranteeValue
- the valuepublic void addRole(java.lang.String role, java.lang.String transportGuaranteeRoleValue)
role
- role to addtransportGuaranteeRoleValue
- transport guarantee for this rolepublic boolean hasRole()
public java.lang.String getName()
public java.util.Iterator getRolesIterator()
public TransportGuaranteeDesc getTransportGuarantee()
public boolean equals(java.lang.Object other)
other
- the object to test if it is equals or not
public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |