16 lines
459 B
Java
16 lines
459 B
Java
package net.sf.jasperreports.engine.util;
|
|
|
|
import java.security.ProtectionDomain;
|
|
|
|
public class SingleProtectionDomainFactory implements ProtectionDomainFactory {
|
|
private final ProtectionDomain protectionDomain;
|
|
|
|
public SingleProtectionDomainFactory(ProtectionDomain protectionDomain) {
|
|
this.protectionDomain = protectionDomain;
|
|
}
|
|
|
|
public ProtectionDomain getProtectionDomain(ClassLoader classloader) {
|
|
return this.protectionDomain;
|
|
}
|
|
}
|