public class ExtensionManagerBus extends AbstractBasicInterceptorProvider implements Bus
Modifier and Type | Class and Description |
---|---|
static interface |
ExtensionManagerBus.ExtensionFinder |
Bus.BusState
Modifier and Type | Field and Description |
---|---|
static String |
BUS_PROPERTY_NAME |
protected Map<Class<?>,Object> |
extensions |
protected String |
id |
protected Set<Class<?>> |
missingExtensions |
DEFAULT_BUS_ID
Constructor and Description |
---|
ExtensionManagerBus() |
ExtensionManagerBus(Map<Class<?>,Object> e) |
ExtensionManagerBus(Map<Class<?>,Object> e,
Map<String,Object> properties) |
ExtensionManagerBus(Map<Class<?>,Object> extensions,
Map<String,Object> props,
ClassLoader extensionClassLoader) |
Modifier and Type | Method and Description |
---|---|
protected ConfiguredBeanLocator |
createConfiguredBeanLocator() |
protected void |
destroyBeans() |
protected void |
doInitializeInternal() |
<T> T |
getExtension(Class<T> extensionType) |
Collection<Feature> |
getFeatures() |
String |
getId() |
Map<String,Object> |
getProperties() |
Object |
getProperty(String s) |
Bus.BusState |
getState() |
boolean |
hasExtensionByName(String name) |
void |
initialize() |
protected void |
initializeFeatures() |
protected void |
loadAdditionalFeatures() |
<T> void |
setExtension(T extension,
Class<T> extensionType) |
void |
setFeatures(Collection<? extends Feature> features) |
void |
setId(String i) |
void |
setProperties(Map<String,Object> map) |
void |
setProperty(String s,
Object o) |
protected void |
setState(Bus.BusState state) |
void |
shutdown() |
void |
shutdown(boolean wait) |
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
public static final String BUS_PROPERTY_NAME
protected String id
public ExtensionManagerBus(Map<Class<?>,Object> extensions, Map<String,Object> props, ClassLoader extensionClassLoader)
public ExtensionManagerBus(Map<Class<?>,Object> e, Map<String,Object> properties)
public ExtensionManagerBus()
protected final void setState(Bus.BusState state)
public final <T> T getExtension(Class<T> extensionType)
getExtension
in interface Bus
public boolean hasExtensionByName(String name)
hasExtensionByName
in interface Bus
protected final ConfiguredBeanLocator createConfiguredBeanLocator()
public final <T> void setExtension(T extension, Class<T> extensionType)
setExtension
in interface Bus
public void initialize()
protected void doInitializeInternal()
protected void loadAdditionalFeatures()
protected void initializeFeatures()
public void shutdown()
protected void destroyBeans()
public Bus.BusState getState()
public Collection<Feature> getFeatures()
getFeatures
in interface Bus
public void setFeatures(Collection<? extends Feature> features)
setFeatures
in interface Bus
public Map<String,Object> getProperties()
getProperties
in interface Bus
public void setProperties(Map<String,Object> map)
setProperties
in interface Bus
public Object getProperty(String s)
getProperty
in interface Bus
public void setProperty(String s, Object o)
setProperty
in interface Bus
Copyright © 2016 JBoss by Red Hat. All rights reserved.