org.apache.jetspeed.om.security
Class JetspeedPermissionFactory

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

public class JetspeedPermissionFactory
extends java.lang.Object

Factory class for creating Jetspeed Permissions. The permission class is configured in the JR.p

Version:
$Id: JetspeedPermissionFactory.java,v 1.4 2004/02/23 03:14:12 jford Exp $
Author:
David Sean Taylor

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

Constructor Detail

JetspeedPermissionFactory

public JetspeedPermissionFactory()
Method Detail

getInstance

public static Permission getInstance()
                              throws PermissionException
Factory method to create JetspeedPermission instances.

Returns:
Permission a new created permission.
Throws:
UnknownEntityException - when the permission instance cant be created.
PermissionException

getInstance

public static Permission getInstance(boolean isNew)
                              throws PermissionException
Throws:
PermissionException


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