Package org.jboss.weld.bean.proxy
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 usingClass.getDeclaredMethod(String, Class...)
.- Author:
- Jozef Hartinger
- See Also:
BytecodeMethodResolver
-
-
Constructor Summary
Constructors Constructor Description ProtectionDomainCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupAfterBoot()
-