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 -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()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) getClassLoader(Class<?> proxiedBeanType) Class<?>loadBeanClass(String className) Class<?>boolean
-
Constructor Details
-
ProxyServicesImpl
public ProxyServicesImpl(org.jboss.modules.Module module)
-
-
Method Details
-
getClassLoader
-
cleanup
public void cleanup()- Specified by:
cleanupin interfaceorg.jboss.weld.bootstrap.api.Service
-
loadBeanClass
-
defineClass
public Class<?> defineClass(Class<?> originalClass, String s, byte[] bytes, int i, int i1) throws ClassFormatError - Specified by:
defineClassin 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:
defineClassin interfaceorg.jboss.weld.serialization.spi.ProxyServices- Throws:
ClassFormatError
-
loadClass
public Class<?> loadClass(Class<?> originalClass, String classBinaryName) throws ClassNotFoundException - Specified by:
loadClassin interfaceorg.jboss.weld.serialization.spi.ProxyServices- Throws:
ClassNotFoundException
-
supportsClassDefining
public boolean supportsClassDefining()
-