Search in sources :

Example 6 with BlueprintNameSpaceHandlerFactory

use of org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory in project cxf by apache.

the class Activator method start.

@Override
public void start(BundleContext context) throws Exception {
    try {
        BlueprintNameSpaceHandlerFactory factory = new BlueprintNameSpaceHandlerFactory() {

            @Override
            public Object createNamespaceHandler() {
                return new RMBPHandler();
            }
        };
        NamespaceHandlerRegisterer.register(context, factory, "http://cxf.apache.org/ws/rm/manager", "http://schemas.xmlsoap.org/ws/2005/02/rm/policy");
    } catch (NoClassDefFoundError error) {
    // No Blueprint is available
    }
}
Also used : BlueprintNameSpaceHandlerFactory(org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory)

Example 7 with BlueprintNameSpaceHandlerFactory

use of org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory in project cxf by apache.

the class Activator method start.

@Override
public void start(BundleContext context) throws Exception {
    try {
        BlueprintNameSpaceHandlerFactory factory = new BlueprintNameSpaceHandlerFactory() {

            @Override
            public Object createNamespaceHandler() {
                return new ColocBPNamespaceHandler();
            }
        };
        NamespaceHandlerRegisterer.register(context, factory, "http://cxf.apache.org/binding/coloc");
    } catch (NoClassDefFoundError error) {
    // No Blueprint is available
    }
}
Also used : BlueprintNameSpaceHandlerFactory(org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory)

Example 8 with BlueprintNameSpaceHandlerFactory

use of org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory in project cxf by apache.

the class Activator method start.

@Override
public void start(BundleContext context) throws Exception {
    try {
        BlueprintNameSpaceHandlerFactory factory = new BlueprintNameSpaceHandlerFactory() {

            @Override
            public Object createNamespaceHandler() {
                return new JAXWSBPNamespaceHandler();
            }
        };
        NamespaceHandlerRegisterer.register(context, factory, "http://cxf.apache.org/blueprint/jaxws");
    } catch (NoClassDefFoundError error) {
    // No Blueprint is available
    }
}
Also used : BlueprintNameSpaceHandlerFactory(org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory)

Example 9 with BlueprintNameSpaceHandlerFactory

use of org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory in project cxf by apache.

the class Activator method start.

@Override
public void start(BundleContext context) throws Exception {
    try {
        BlueprintNameSpaceHandlerFactory factory = new BlueprintNameSpaceHandlerFactory() {

            @Override
            public Object createNamespaceHandler() {
                return new WsBPHandler();
            }
        };
        NamespaceHandlerRegisterer.register(context, factory, "http://cxf.apache.org/ws/addressing");
    } catch (NoClassDefFoundError error) {
    // No Blueprint is available
    }
}
Also used : BlueprintNameSpaceHandlerFactory(org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory)

Example 10 with BlueprintNameSpaceHandlerFactory

use of org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory in project cxf by apache.

the class Activator method start.

@Override
public void start(BundleContext context) throws Exception {
    try {
        BlueprintNameSpaceHandlerFactory factory = new BlueprintNameSpaceHandlerFactory() {

            @Override
            public Object createNamespaceHandler() {
                return new PolicyBPHandler();
            }
        };
        NamespaceHandlerRegisterer.register(context, factory, "http://cxf.apache.org/policy", "http://www.w3.org/ns/ws-policy", "http://www.w3.org/2006/07/ws-policy", "http://schemas.xmlsoap.org/ws/2004/09/policy", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", "http://www.w3.org/2000/09/xmldsig#", "http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702");
    } catch (NoClassDefFoundError error) {
    // No Blueprint is available
    }
}
Also used : BlueprintNameSpaceHandlerFactory(org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory)

Aggregations

BlueprintNameSpaceHandlerFactory (org.apache.cxf.bus.blueprint.BlueprintNameSpaceHandlerFactory)15 MBeanServer (javax.management.MBeanServer)2 ManagedServiceFactory (org.osgi.service.cm.ManagedServiceFactory)2 CXFAPINamespaceHandler (org.apache.cxf.internal.CXFAPINamespaceHandler)1 DestinationRegistry (org.apache.cxf.transport.http.DestinationRegistry)1 DestinationRegistryImpl (org.apache.cxf.transport.http.DestinationRegistryImpl)1 HTTPTransportFactory (org.apache.cxf.transport.http.HTTPTransportFactory)1 HttpBPHandler (org.apache.cxf.transport.http.blueprint.HttpBPHandler)1 HTTPJettyTransportNamespaceHandler (org.apache.cxf.transport.http_jetty.blueprint.HTTPJettyTransportNamespaceHandler)1 HTTPUndertowTransportNamespaceHandler (org.apache.cxf.transport.http_undertow.blueprint.HTTPUndertowTransportNamespaceHandler)1 ConfigurationAdmin (org.osgi.service.cm.ConfigurationAdmin)1 HttpService (org.osgi.service.http.HttpService)1