Package com.sun.enterprise.deployment
Interface Roles
-
- All Known Implementing Classes:
Application
,ApplicationClientDescriptor
,BundleDescriptor
,CommonResourceBundleDescriptor
,ConnectorDescriptor
,EjbBundleDescriptor
,EjbBundleDescriptorImpl
,WebBundleDescriptor
,WebBundleDescriptorImpl
,WebFragmentDescriptor
public interface Roles
- Author:
- Danny Coward
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRole(Role role)
Add the specified role to the set of roles.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
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.
-
-