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
}
}
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
}
}
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
}
}
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
}
}
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
}
}
Aggregations