|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.javaee.support.IdMetaDataImpl
org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions
org.jboss.metadata.ejb.spec.MethodPermissionMetaData
public class MethodPermissionMetaData
MethodPermissionMetaData.
Constructor Summary | |
---|---|
MethodPermissionMetaData()
Create a new MethodPermissionMetaData. |
Method Summary | |
---|---|
MethodPermissionMetaData |
clone()
|
MethodPermissionMetaData |
getMethodPermissionByEjbName(String ejbName)
Get the method permissions for an ejb |
MethodsMetaData |
getMethods()
Get the methods. |
Set<String> |
getRoles()
Get the roles. |
EmptyMetaData |
getUnchecked()
Get the unchecked. |
boolean |
isNotChecked()
Get the unchecked. |
boolean |
isNotChecked(String methodName,
Class[] params,
MethodInterfaceType interfaceType)
Whether this is not checked |
boolean |
matches(String methodName,
Class[] params,
MethodInterfaceType interfaceType)
Whether this matches |
void |
setMethods(MethodsMetaData methods)
Set the methods. |
void |
setRoles(Set<String> roles)
Set the roles. |
void |
setUnchecked(EmptyMetaData unchecked)
Set the unchecked. |
String |
toString()
|
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions |
---|
getDescriptions, merge, setDescriptions |
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl |
---|
equals, getId, hashCode, merge, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodPermissionMetaData()
Method Detail |
---|
public boolean isNotChecked()
public EmptyMetaData getUnchecked()
public void setUnchecked(EmptyMetaData unchecked)
unchecked
- the unchecked.public Set<String> getRoles()
public void setRoles(Set<String> roles)
roles
- the roles.public MethodsMetaData getMethods()
public void setMethods(MethodsMetaData methods)
methods
- the methods.
IllegalArgumentException
- for a null methodspublic MethodPermissionMetaData getMethodPermissionByEjbName(String ejbName)
ejbName
- the ejb name
IllegalArgumentException
- for a null ejb namepublic MethodPermissionMetaData clone()
clone
in class IdMetaDataImpl
public boolean matches(String methodName, Class[] params, MethodInterfaceType interfaceType)
methodName
- the method nameparams
- the parametersinterfaceType
- the interface type
public boolean isNotChecked(String methodName, Class[] params, MethodInterfaceType interfaceType)
methodName
- the method nameparams
- the parametersinterfaceType
- the interface type
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |