本文整理了Java中org.apache.aries.blueprint.Namespaces
类的一些代码示例,展示了Namespaces
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Namespaces
类的具体详情如下:
包路径:org.apache.aries.blueprint.Namespaces
类名称:Namespaces
暂无
代码示例来源:origin: org.apache.cxf/cxf-rt-transports-http
@Namespaces("http://cxf.apache.org/transports/http/configuration")
public class HttpBPHandler extends BaseNamespaceHandler {
代码示例来源:origin: org.apache.aries.blueprint/org.apache.aries.blueprint.web
protected NamespaceHandlerSet getNamespaceHandlerSetFromClassNames(ServletContext servletContext, ClassLoader tccl,
List<String> handlerClassNames) {
SimpleNamespaceHandlerSet nsSet = new SimpleNamespaceHandlerSet();
for (String name : handlerClassNames) {
String trimmedName = name.trim();
Object instance = null;
try {
instance = tccl.loadClass(trimmedName).newInstance();
} catch (Exception ex) {
throw new RuntimeException("Failed to load NamespaceHandler: " + trimmedName, ex);
}
if (!(instance instanceof NamespaceHandler)) {
throw new RuntimeException("Invalid NamespaceHandler: " + trimmedName);
}
NamespaceHandler nsHandler = (NamespaceHandler)instance;
Namespaces namespaces = nsHandler.getClass().getAnnotation(Namespaces.class);
if (namespaces != null) {
for (String ns : namespaces.value()) {
nsSet.addNamespace(URI.create(ns), nsHandler.getSchemaLocation(ns), nsHandler);
}
}
}
return nsSet;
}
代码示例来源:origin: org.apache.cxf/cxf-rt-frontend-jaxws
@Namespaces("http://cxf.apache.org/blueprint/jaxws")
public class JAXWSBPNamespaceHandler extends BaseNamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/transports/http-netty-server/configuration")
public class HttpNettyTransportNamespaceHandler extends BaseNamespaceHandler {
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/transports/http/configuration")
public class HttpBPHandler extends BaseNamespaceHandler {
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/clustering")
public class ClusteringBPNamespaceHandler extends BaseNamespaceHandler {
public ComponentMetadata decorate(Node node, ComponentMetadata component, ParserContext context) {
代码示例来源:origin: org.apache.cxf/cxf-rt-features-clustering
@Namespaces("http://cxf.apache.org/clustering")
public class ClusteringBPNamespaceHandler extends BaseNamespaceHandler {
public ComponentMetadata decorate(Node node, ComponentMetadata component, ParserContext context) {
代码示例来源:origin: org.apache.cxf/cxf-rt-transports-http-jetty
@Namespaces("http://cxf.apache.org/transports/http-jetty/configuration")
public class HTTPJettyTransportNamespaceHandler extends BaseNamespaceHandler {
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/transports/http-jetty/configuration")
public class HTTPJettyTransportNamespaceHandler extends BaseNamespaceHandler {
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/blueprint/jaxrs-client")
public class JAXRSBPNamespaceHandler implements NamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/blueprint/simple")
public class SimpleBPNamespaceHandler extends BaseNamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: org.apache.cxf/cxf-rt-rs-client
@Namespaces("http://cxf.apache.org/blueprint/jaxrs-client")
public class JAXRSBPNamespaceHandler implements NamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/transports/http-undertow/configuration")
public class HTTPUndertowTransportNamespaceHandler implements NamespaceHandler {
代码示例来源:origin: org.apache.cxf/cxf-rt-frontend-simple
@Namespaces("http://cxf.apache.org/blueprint/simple")
public class SimpleBPNamespaceHandler extends BaseNamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: org.apache.cxf/cxf-rt-transports-http-netty-server
@Namespaces("http://cxf.apache.org/transports/http-netty-server/configuration")
public class HttpNettyTransportNamespaceHandler extends BaseNamespaceHandler {
代码示例来源:origin: org.apache.cxf/cxf-rt-transports-http-undertow
@Namespaces("http://cxf.apache.org/transports/http-undertow/configuration")
public class HTTPUndertowTransportNamespaceHandler implements NamespaceHandler {
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/blueprint/jaxrs")
public class JAXRSBPNamespaceHandler extends BaseNamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: apache/cxf
@Namespaces("http://cxf.apache.org/blueprint/jaxws")
public class JAXWSBPNamespaceHandler extends BaseNamespaceHandler {
private BlueprintContainer blueprintContainer;
代码示例来源:origin: org.apache.cxf/cxf-core
@Namespaces({"http://cxf.apache.org/blueprint/core",
"http://cxf.apache.org/configuration/beans",
"http://cxf.apache.org/configuration/parameterized-types",
代码示例来源:origin: apache/cxf
@Namespaces({"http://cxf.apache.org/blueprint/core",
"http://cxf.apache.org/configuration/beans",
"http://cxf.apache.org/configuration/parameterized-types",
内容来源于网络,如有侵权,请联系作者删除!