Class ProtectionDomainCache

java.lang.Object
org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService
org.jboss.weld.bean.proxy.ProtectionDomainCache
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.BootstrapService, org.jboss.weld.bootstrap.api.Service

public class ProtectionDomainCache extends org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService
Holds enhanced protection domains for proxy classes. This is only useful when running under security manager. The enhanced protection domain contains all the permissions of the original class plus the "accessDeclaredMembers" runtime permission. This is needed for the proxy class' static initializer block to be able to resolve methods using Class.getDeclaredMethod(String, Class...).
Author:
Jozef Hartinger
See Also:
  • Constructor Details

    • ProtectionDomainCache

      public ProtectionDomainCache()
  • Method Details

    • cleanupAfterBoot

      public void cleanupAfterBoot()