Package net.sf.jasperreports.engine.util
Class SingleProtectionDomainFactory
java.lang.Object
net.sf.jasperreports.engine.util.SingleProtectionDomainFactory
- All Implemented Interfaces:
ProtectionDomainFactory
Implementation of
ProtectionDomainFactory that
wraps a single protection domain.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionSingleProtectionDomainFactory(ProtectionDomain protectionDomain) Create a factory. -
Method Summary
Modifier and TypeMethodDescriptiongetProtectionDomain(ClassLoader classloader) Returns the wrapped protection domain.
-
Constructor Details
-
SingleProtectionDomainFactory
Create a factory.- Parameters:
protectionDomain- the protection domain which will be returned for all classloaders
-
-
Method Details
-
getProtectionDomain
Returns the wrapped protection domain.- Specified by:
getProtectionDomainin interfaceProtectionDomainFactory- Parameters:
classloader- the classloader- Returns:
- the protection domain to be used by the classloader
-