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 Summary
Constructors Constructor Description ProxyServicesImpl(org.jboss.modules.Module module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
Class<?>
defineClass(Class<?> originalClass, String s, byte[] bytes, int i, int i1)
Class<?>
defineClass(Class<?> originalClass, String s, byte[] bytes, int i, int i1, ProtectionDomain protectionDomain)
ClassLoader
getClassLoader(Class<?> proxiedBeanType)
Class<?>
loadBeanClass(String className)
Class<?>
loadClass(Class<?> originalClass, String classBinaryName)
boolean
supportsClassDefining()
-
-
-
Method Detail
-
getClassLoader
public ClassLoader getClassLoader(Class<?> proxiedBeanType)
- Specified by:
getClassLoader
in interfaceorg.jboss.weld.serialization.spi.ProxyServices
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceorg.jboss.weld.bootstrap.api.Service
-
loadBeanClass
public Class<?> loadBeanClass(String className)
- Specified by:
loadBeanClass
in interfaceorg.jboss.weld.serialization.spi.ProxyServices
-
defineClass
public Class<?> defineClass(Class<?> originalClass, String s, byte[] bytes, int i, int i1) throws ClassFormatError
- Specified by:
defineClass
in interfaceorg.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 interfaceorg.jboss.weld.serialization.spi.ProxyServices
- Throws:
ClassFormatError
-
loadClass
public Class<?> loadClass(Class<?> originalClass, String classBinaryName) throws ClassNotFoundException
- Specified by:
loadClass
in interfaceorg.jboss.weld.serialization.spi.ProxyServices
- Throws:
ClassNotFoundException
-
supportsClassDefining
public boolean supportsClassDefining()
- Specified by:
supportsClassDefining
in interfaceorg.jboss.weld.serialization.spi.ProxyServices
-
-