net.sf.jasperreports.engine.util
Class SingleProtectionDomainFactory
java.lang.Object
net.sf.jasperreports.engine.util.SingleProtectionDomainFactory
- All Implemented Interfaces:
- ProtectionDomainFactory
public class SingleProtectionDomainFactory
- extends Object
- implements ProtectionDomainFactory
Implementation of ProtectionDomainFactory that
wraps a single protection domain.
- Version:
- $Id: SingleProtectionDomainFactory.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleProtectionDomainFactory
public SingleProtectionDomainFactory(ProtectionDomain protectionDomain)
- Create a factory.
- Parameters:
protectionDomain - the protection domain which will be returned for all classloaders
getProtectionDomain
public ProtectionDomain getProtectionDomain(ClassLoader classloader)
- Returns the wrapped protection domain.
- Specified by:
getProtectionDomain in interface ProtectionDomainFactory
- Parameters:
classloader - the classloader
- Returns:
- the protection domain to be used by the classloader
Copyright © 2012. All Rights Reserved.