public class JBossWSBusFactory
extends org.apache.cxf.bus.CXFBusFactory
Constructor and Description |
---|
JBossWSBusFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
clearDefaultBusForAnyClassLoader(org.apache.cxf.Bus bus)
Removes a bus from being the default bus for any classloader
|
org.apache.cxf.Bus |
createBus(Map<Class<?>,Object> extensions,
Map<String,Object> properties) |
static org.apache.cxf.Bus |
getClassLoaderDefaultBus(ClassLoader classloader)
Gets the default bus for the given classloader
|
static org.apache.cxf.Bus |
getClassLoaderDefaultBus(ClassLoader classloader,
ClientBusSelector clientBusSelector)
Gets the default bus for the given classloader; if a new Bus is needed,
the creation is delegated to the specified ClientBusSelector instance.
|
static org.apache.cxf.Bus |
getDefaultBus(ClassLoader contextClassLoader)
Gets (and internally sets) the default bus after having set the thread
context class loader to the provided one (which affects the Bus
construction if it's not been created yet).
|
protected void |
initializeBus(org.apache.cxf.Bus bus) |
public org.apache.cxf.Bus createBus(Map<Class<?>,Object> extensions, Map<String,Object> properties)
createBus
in class org.apache.cxf.bus.CXFBusFactory
protected void initializeBus(org.apache.cxf.Bus bus)
initializeBus
in class org.apache.cxf.BusFactory
public static org.apache.cxf.Bus getDefaultBus(ClassLoader contextClassLoader)
contextClassLoader
- public static org.apache.cxf.Bus getClassLoaderDefaultBus(ClassLoader classloader, ClientBusSelector clientBusSelector)
classloader
- clientBusSelector
- public static org.apache.cxf.Bus getClassLoaderDefaultBus(ClassLoader classloader)
classloader
- public static void clearDefaultBusForAnyClassLoader(org.apache.cxf.Bus bus)
bus
- Copyright © 2017 JBoss, by Red Hat. All rights reserved.