public final class ContextClassLoaderInterceptor extends Object implements Interceptor, Serializable
EMPTY_ARRAY
Constructor and Description |
---|
ContextClassLoaderInterceptor(ClassLoader classLoader)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
processInvocation(InterceptorContext context)
Process an invocation.
|
public ContextClassLoaderInterceptor(ClassLoader classLoader)
classLoader
- the class loader to usepublic Object processInvocation(InterceptorContext context) throws Exception
processInvocation
in interface Interceptor
context
- the interceptor contextException
- If the underlying invocation resulted in some exceptionCopyright © 2023 JBoss by Red Hat. All rights reserved.