public class JBossWSBusFactory extends CXFBusFactory
BUS_FACTORY_PROPERTY_NAME, DEFAULT_BUS_FACTORY, defaultBus, THREAD_BUS, THREAD_BUSSES
Constructor and Description |
---|
JBossWSBusFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
clearDefaultBusForAnyClassLoader(Bus bus)
Removes a bus from being the default bus for any classloader
|
Bus |
createBus(Map<Class<?>,Object> extensions,
Map<String,Object> properties) |
static Bus |
getClassLoaderDefaultBus(ClassLoader classloader)
Gets the default bus for the given classloader
|
static 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 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(Bus bus) |
createBus, createBus
clearDefaultBusForAnyThread, getAndSetThreadDefaultBus, getDefaultBus, getDefaultBus, getThreadDefaultBus, getThreadDefaultBus, newInstance, newInstance, possiblySetDefaultBus, setDefaultBus, setThreadDefaultBus
public Bus createBus(Map<Class<?>,Object> extensions, Map<String,Object> properties)
createBus
in class CXFBusFactory
protected void initializeBus(Bus bus)
initializeBus
in class BusFactory
public static Bus getDefaultBus(ClassLoader contextClassLoader)
contextClassLoader
- public static Bus getClassLoaderDefaultBus(ClassLoader classloader, ClientBusSelector clientBusSelector)
classloader
- clientBusSelector
- public static Bus getClassLoaderDefaultBus(ClassLoader classloader)
classloader
- public static void clearDefaultBusForAnyClassLoader(Bus bus)
bus
- Copyright © 2017 JBoss by Red Hat. All rights reserved.