com.sun.enterprise.deployment
Interface Roles

All Known Implementing Classes:
Application, ApplicationClientDescriptor, BundleDescriptor, ConnectorDescriptor, EjbBundleDescriptor, WebBundleDescriptor, WebFragmentDescriptor

public interface Roles

Author:
Danny Coward

Method Summary
 void addRole(Role role)
          Add the specified role to the set of roles.
 java.util.Set getRoles()
          Get the current set of roles defined.
 void removeRole(Role role)
          Remove the specified role from the set of roles.
 

Method Detail

getRoles

java.util.Set getRoles()
Get the current set of roles defined.

Returns:
the set of roles.

addRole

void addRole(Role role)
Add the specified role to the set of roles.

Parameters:
the - role to be added.

removeRole

void removeRole(Role role)
Remove the specified role from the set of roles.

Parameters:
the - role to be removed.


Copyright © 2012 GlassFish Community. All Rights Reserved.