public interface RoleFactory
Modifier and Type | Method and Description |
---|---|
<ROLE extends Role> |
createRole(Class<ROLE> roleInterface)
This method creates a new instance of the given
Role . |
<ROLE extends Role> ROLE createRole(Class<ROLE> roleInterface)
Role
.ROLE
- is the generic type of roleInterface
.roleInterface
- is the interface of the Role
to create. Must not be an abstract Role
(see javadoc, e.g. RoleStructure
).Role
instances.Copyright © 2001–2016 mmm-Team. All rights reserved.