Class SimpleProxyServices

  • All Implemented Interfaces:
    org.jboss.weld.bootstrap.api.Service, org.jboss.weld.serialization.spi.ProxyServices

    public class SimpleProxyServices
    extends Object
    implements org.jboss.weld.serialization.spi.ProxyServices
    A default implementation of the ProxyServices which simply use the corresponding information from the proxy type. An exception is made for java.* and javax.* packages which are often associated with the system classloader and a more privileged ProtectionDomain.
    Author:
    David Allen
    • Constructor Detail

      • SimpleProxyServices

        public SimpleProxyServices()
    • Method Detail

      • getClassLoader

        public ClassLoader getClassLoader​(Class<?> proxiedBeanType)
        Specified by:
        getClassLoader in interface org.jboss.weld.serialization.spi.ProxyServices
      • cleanup

        public void cleanup()
        Specified by:
        cleanup in interface org.jboss.weld.bootstrap.api.Service
      • loadBeanClass

        @Deprecated
        public Class<?> loadBeanClass​(String className)
        Deprecated.
        Specified by:
        loadBeanClass in interface org.jboss.weld.serialization.spi.ProxyServices