Apache CXF API

org.apache.cxf.bus.extension
Class ExtensionManagerImpl

java.lang.Object
  extended by org.apache.cxf.bus.extension.ExtensionManagerImpl
All Implemented Interfaces:
ExtensionManager

public class ExtensionManagerImpl
extends Object
implements ExtensionManager


Field Summary
static String ACTIVATION_NAMESPACES_PROPERTY_NAME
           
static String ACTIVATION_NAMESPACES_SETTER_METHOD_NAME
           
static String BUS_EXTENSION_RESOURCE
           
static String BUS_EXTENSION_RESOURCE_COMPAT
           
static String EXTENSIONMANAGER_PROPERTY_NAME
           
 
Constructor Summary
ExtensionManagerImpl(ClassLoader cl, Map<Class,Object> initialExtensions, ResourceManager rm, Bus b)
           
ExtensionManagerImpl(String[] resources, ClassLoader cl, Map<Class,Object> initialExtensions, ResourceManager rm, Bus b)
           
ExtensionManagerImpl(String resource, ClassLoader cl, Map<Class,Object> initialExtensions, ResourceManager rm, Bus b)
           
 
Method Summary
 void activateAll()
           
<T> void
activateAllByType(Class<T> type)
           
 void activateViaNS(String namespaceURI)
           
<T> T
getExtension(String ns, Class<T> type)
           
 void load(String[] resources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSIONMANAGER_PROPERTY_NAME

public static final String EXTENSIONMANAGER_PROPERTY_NAME
See Also:
Constant Field Values

ACTIVATION_NAMESPACES_PROPERTY_NAME

public static final String ACTIVATION_NAMESPACES_PROPERTY_NAME
See Also:
Constant Field Values

ACTIVATION_NAMESPACES_SETTER_METHOD_NAME

public static final String ACTIVATION_NAMESPACES_SETTER_METHOD_NAME
See Also:
Constant Field Values

BUS_EXTENSION_RESOURCE_COMPAT

public static final String BUS_EXTENSION_RESOURCE_COMPAT
See Also:
Constant Field Values

BUS_EXTENSION_RESOURCE

public static final String BUS_EXTENSION_RESOURCE
See Also:
Constant Field Values
Constructor Detail

ExtensionManagerImpl

public ExtensionManagerImpl(ClassLoader cl,
                            Map<Class,Object> initialExtensions,
                            ResourceManager rm,
                            Bus b)

ExtensionManagerImpl

public ExtensionManagerImpl(String resource,
                            ClassLoader cl,
                            Map<Class,Object> initialExtensions,
                            ResourceManager rm,
                            Bus b)

ExtensionManagerImpl

public ExtensionManagerImpl(String[] resources,
                            ClassLoader cl,
                            Map<Class,Object> initialExtensions,
                            ResourceManager rm,
                            Bus b)
Method Detail

load

public final void load(String[] resources)

activateViaNS

public void activateViaNS(String namespaceURI)
Specified by:
activateViaNS in interface ExtensionManager

activateAll

public void activateAll()
Specified by:
activateAll in interface ExtensionManager

activateAllByType

public <T> void activateAllByType(Class<T> type)
Specified by:
activateAllByType in interface ExtensionManager

getExtension

public <T> T getExtension(String ns,
                          Class<T> type)
Specified by:
getExtension in interface ExtensionManager

Apache CXF API

Apache CXF