Package net.sf.jasperreports.engine.util
Class SingleProtectionDomainFactory
- java.lang.Object
-
- net.sf.jasperreports.engine.util.SingleProtectionDomainFactory
-
- All Implemented Interfaces:
ProtectionDomainFactory
public class SingleProtectionDomainFactory extends java.lang.Object implements ProtectionDomainFactory
Implementation ofProtectionDomainFactorythat wraps a single protection domain.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description SingleProtectionDomainFactory(java.security.ProtectionDomain protectionDomain)Create a factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.ProtectionDomaingetProtectionDomain(java.lang.ClassLoader classloader)Returns the wrapped protection domain.
-
-
-
Method Detail
-
getProtectionDomain
public java.security.ProtectionDomain getProtectionDomain(java.lang.ClassLoader classloader)
Returns the wrapped protection domain.- Specified by:
getProtectionDomainin interfaceProtectionDomainFactory- Parameters:
classloader- the classloader- Returns:
- the protection domain to be used by the classloader
-
-