public class RoleFactoryImpl extends Object implements RoleFactory
RoleFactory
.Constructor and Description |
---|
RoleFactoryImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
<ROLE extends Role> |
createRole(Class<ROLE> roleInterface)
This method creates a new instance of the given
Role . |
public <ROLE extends Role> ROLE createRole(Class<ROLE> roleInterface)
Role
.createRole
in interface RoleFactory
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.