Class ProxyServicesImpl

java.lang.Object
org.jboss.as.weld.services.bootstrap.ProxyServicesImpl
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service, org.jboss.weld.serialization.spi.ProxyServices

public class ProxyServicesImpl extends Object implements org.jboss.weld.serialization.spi.ProxyServices
ProxyServices implementation that delegates to the module class loader if the bean class loader cannot be determined
Author:
Stuart Douglas, Jozef Hartinger
  • Constructor Details

    • ProxyServicesImpl

      public ProxyServicesImpl(org.jboss.modules.Module module)
  • Method Details

    • getClassLoader

      public ClassLoader getClassLoader(Class<?> proxiedBeanType)
    • cleanup

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

      public Class<?> loadBeanClass(String className)
    • defineClass

      public Class<?> defineClass(Class<?> originalClass, String s, byte[] bytes, int i, int i1) throws ClassFormatError
      Specified by:
      defineClass in interface org.jboss.weld.serialization.spi.ProxyServices
      Throws:
      ClassFormatError
    • defineClass

      public Class<?> defineClass(Class<?> originalClass, String s, byte[] bytes, int i, int i1, ProtectionDomain protectionDomain) throws ClassFormatError
      Specified by:
      defineClass in interface org.jboss.weld.serialization.spi.ProxyServices
      Throws:
      ClassFormatError
    • loadClass

      public Class<?> loadClass(Class<?> originalClass, String classBinaryName) throws ClassNotFoundException
      Specified by:
      loadClass in interface org.jboss.weld.serialization.spi.ProxyServices
      Throws:
      ClassNotFoundException
    • supportsClassDefining

      public boolean supportsClassDefining()