diff --git a/weld-spi/src/main/java/org/jboss/weld/serialization/spi/ProxyServices.java b/weld-spi/src/main/java/org/jboss/weld/serialization/spi/ProxyServices.java index 6efc14f3..4ac9c2cf 100644 --- a/weld-spi/src/main/java/org/jboss/weld/serialization/spi/ProxyServices.java +++ b/weld-spi/src/main/java/org/jboss/weld/serialization/spi/ProxyServices.java @@ -56,17 +56,6 @@ public interface ProxyServices extends Service */ public ClassLoader getClassLoader(Class proxiedBeanType); - /** - * Returns the protection domain to use when a security manager is present - * during generation of a proxy class with the given super type. Usually this - * protection domain will need to correspond to the one used with the class - * loader provided by {@link #getClassLoader(Class)}. - * - * @param proxiedBeanType the base type (class or interface) being proxied - * @return the protection domain to use for the proxy class - */ - public ProtectionDomain getProtectionDomain(Class proxiedBeanType); - /** *

* Loads classes or interfaces extended/implemented by a bean or in