Package org.apache.cxf.endpoint.dynamic
Class ExceptionClassLoader
java.lang.Object
org.apache.cxf.common.spi.GeneratedClassClassLoader
org.apache.cxf.endpoint.dynamic.ExceptionClassLoader
- All Implemented Interfaces:
ExceptionClassCreator
public class ExceptionClassLoader
extends org.apache.cxf.common.spi.GeneratedClassClassLoader
implements ExceptionClassCreator
If class has been generated during build time
(use @see org.apache.cxf.common.spi.GeneratedClassClassLoaderCapture capture to save bytes)
you can set class loader to avoid class generation during runtime:
bus.setExtension(new ExceptionClassLoader(bus), ExceptionClassCreator.class);
- Author:
- olivier dufour
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cxf.common.spi.GeneratedClassClassLoader
org.apache.cxf.common.spi.GeneratedClassClassLoader.TypeHelperClassLoader
-
Field Summary
Fields inherited from class org.apache.cxf.common.spi.GeneratedClassClassLoader
bus
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.cxf.common.spi.GeneratedClassClassLoader
findClass, getClassLoader
-
Constructor Details
-
ExceptionClassLoader
public ExceptionClassLoader(org.apache.cxf.Bus bus)
-
-
Method Details
-
createExceptionClass
- Specified by:
createExceptionClass
in interfaceExceptionClassCreator
-