org.apache.jetspeed.om.security
Class JetspeedRoleFactory

java.lang.Object
  extended byorg.apache.jetspeed.om.security.JetspeedRoleFactory

public class JetspeedRoleFactory
extends java.lang.Object

Factory class for creating Jetspeed Roles. The role class is configured in the JR.p


Constructor Summary
JetspeedRoleFactory()
           
 
Method Summary
static Role getInstance()
          Factory method to create JetspeedRole instances.
static Role getInstance(boolean isNew)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedRoleFactory

public JetspeedRoleFactory()
Method Detail

getInstance

public static Role getInstance()
                        throws RoleException
Factory method to create JetspeedRole instances.

Returns:
Role a new created role.
Throws:
UnknownEntityException - when the role instance cant be created.
RoleException

getInstance

public static Role getInstance(boolean isNew)
                        throws RoleException
Throws:
RoleException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.