Class 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:
    BytecodeMethodResolver
    • Constructor Detail

      • ProtectionDomainCache

        public ProtectionDomainCache()
    • Method Detail

      • cleanupAfterBoot

        public void cleanupAfterBoot()