|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.web.MethodDesc
public class 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(String name)
Constructor Build a Method with the right type |
Method Summary | |
---|---|
void |
addRole(String role,
String transportGuaranteeRoleValue)
Add role with its transportGuarantee to this method |
void |
addTransportGuarantee(String transportGuaranteeValue)
Defines the transport guarantee |
boolean |
equals(Object other)
Defined the Equals method true if it is the same name |
String |
getName()
Gets the name of the Method |
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(boolean unchecked)
Set this method unchecked |
String |
toString()
String representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodDesc(String name)
name
- the name of the methodMethod Detail |
---|
public boolean isExcluded()
public boolean isUnchecked()
public void setExcluded()
public void setUnchecked(boolean unchecked)
public void addTransportGuarantee(String transportGuaranteeValue)
transportGuaranteeValue
- the valuepublic void addRole(String role, String transportGuaranteeRoleValue)
role
- role to addtransportGuaranteeRoleValue
- transport guarantee for this rolepublic boolean hasRole()
public String getName()
public Iterator getRolesIterator()
public TransportGuaranteeDesc getTransportGuarantee()
public boolean equals(Object other)
equals
in class Object
other
- the object to test if it is equals or not
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |