org.ow2.util.ee.metadata.common.api.interfaces
Interface IAnnotationSecurityRolesAllowed

All Superinterfaces:
Serializable

public interface IAnnotationSecurityRolesAllowed
extends Serializable

This interface represents methods which can be call on ClassAnnotationMetadata and MethodAnnotationMetadata.
It manages @javax.annotation.security.RolesAllowed annotation.

Author:
Florent Benoit

Method Summary
 List<String> getRolesAllowed()
           
 void setRolesAllowed(List<String> rolesAllowed)
          Set the list of roles allowed on this class/method.
 

Method Detail

setRolesAllowed

void setRolesAllowed(List<String> rolesAllowed)
Set the list of roles allowed on this class/method.

Parameters:
rolesAllowed - the list of roles.

getRolesAllowed

List<String> getRolesAllowed()
Returns:
the list of roles allowed on this class/method.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.