org.objectweb.easybeans.deployment.annotations.metadata.interfaces
Interface IAnnotationSecurityRolesAllowed
- All Known Implementing Classes:
- ClassAnnotationMetadata, MethodAnnotationMetadata
public interface IAnnotationSecurityRolesAllowed
This interface represents methods which can be call on
ClassAnnotationMetadata and MethodAnnotationMetadata.
It manages @RolesAllowed
annotation.
- Author:
- Florent Benoit
Method Summary |
java.util.List<java.lang.String> |
getRolesAllowed()
|
void |
setRolesAllowed(java.util.List<java.lang.String> rolesAllowed)
Set the list of roles allowed on this class/method. |
setRolesAllowed
void setRolesAllowed(java.util.List<java.lang.String> rolesAllowed)
- Set the list of roles allowed on this class/method.
- Parameters:
rolesAllowed
- the list of roles.
getRolesAllowed
java.util.List<java.lang.String> getRolesAllowed()
- Returns:
- the list of roles allowed on this class/method.