- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.jboss.weld.environment.deployment.WeldResourceLoader
类的一些代码示例,展示了WeldResourceLoader
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WeldResourceLoader
类的具体详情如下:
包路径:org.jboss.weld.environment.deployment.WeldResourceLoader
类名称:WeldResourceLoader
[英]A simple resource loader. Uses WeldResourceLoader's classloader if the Thread Context Classloader isn't available
[中]一个简单的资源加载器。如果线程上下文类加载器不可用,则使用WeldResourceLoader的类加载器
代码示例来源:origin: weld/core
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: weld/core
WeldServletLifecycle() {
resourceLoader = new WeldResourceLoader();
weldListener = new WeldInitialListener();
}
代码示例来源:origin: weld/core
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: weld/core
WeldServletLifecycle() {
resourceLoader = new WeldResourceLoader();
weldListener = new WeldInitialListener();
}
代码示例来源:origin: org.jboss.weld.se/weld-se
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: org.jboss.weld.servlet/weld-servlet-shaded
WeldServletLifecycle() {
resourceLoader = new WeldResourceLoader();
weldListener = new WeldInitialListener();
}
代码示例来源:origin: weld/core
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: org.jboss.weld.se/weld-se
/**
*
* @param containerId The container identifier
* @see Weld#containerId(String)
*/
public Weld(String containerId) {
this.containerId = containerId;
this.initializedContainers = new HashMap<String, WeldContainer>();
this.beanClasses = new HashSet<String>();
this.selectedAlternatives = new ArrayList<Metadata<String>>();
this.selectedAlternativeStereotypes = new ArrayList<Metadata<String>>();
this.enabledInterceptors = new ArrayList<Metadata<String>>();
this.enabledDecorators = new ArrayList<Metadata<String>>();
this.extensions = new HashSet<Metadata<Extension>>();
this.properties = new HashMap<String, Object>();
this.packages = new HashSet<PackInfo>();
this.resourceLoader = new WeldResourceLoader();
this.additionalServices = new HashMap<>();
}
代码示例来源:origin: org.jboss.weld.environment/weld-environment-common
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: weld/core
/**
*
* @param containerId The container identifier
* @see Weld#containerId(String)
*/
public Weld(String containerId) {
this.containerId = containerId;
this.initializedContainers = new HashMap<String, WeldContainer>();
this.beanClasses = new HashSet<Class<?>>();
this.selectedAlternatives = new ArrayList<Metadata<String>>();
this.selectedAlternativeStereotypes = new ArrayList<Metadata<String>>();
this.enabledInterceptors = new ArrayList<Metadata<String>>();
this.enabledDecorators = new ArrayList<Metadata<String>>();
this.extensions = new HashSet<Metadata<Extension>>();
this.properties = new HashMap<String, Object>();
this.packages = new HashSet<PackInfo>();
this.containerLifecycleObservers = new LinkedList<>();
this.resourceLoader = new WeldResourceLoader();
this.additionalServices = new HashMap<>();
this.extendedBeanDefiningAnnotations = new HashSet<>();
}
代码示例来源:origin: ops4j/org.ops4j.pax.exam2
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
}
catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
}
catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: org.jboss.weld.se/weld-se-shaded
/**
*
* @param containerId The container identifier
* @see Weld#containerId(String)
*/
public Weld(String containerId) {
this.containerId = containerId;
this.initializedContainers = new HashMap<String, WeldContainer>();
this.beanClasses = new HashSet<Class<?>>();
this.selectedAlternatives = new ArrayList<Metadata<String>>();
this.selectedAlternativeStereotypes = new ArrayList<Metadata<String>>();
this.enabledInterceptors = new ArrayList<Metadata<String>>();
this.enabledDecorators = new ArrayList<Metadata<String>>();
this.extensions = new HashSet<Metadata<Extension>>();
this.properties = new HashMap<String, Object>();
this.packages = new HashSet<PackInfo>();
this.containerLifecycleObservers = new LinkedList<>();
this.resourceLoader = new WeldResourceLoader();
this.additionalServices = new HashMap<>();
this.extendedBeanDefiningAnnotations = new HashSet<>();
}
代码示例来源:origin: org.jboss.weld.se/weld-se-shaded
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: weld/core
/**
*
* @param containerId The container identifier
* @see Weld#containerId(String)
*/
public Weld(String containerId) {
this.containerId = containerId;
this.initializedContainers = new HashMap<String, WeldContainer>();
this.beanClasses = new HashSet<Class<?>>();
this.selectedAlternatives = new ArrayList<Metadata<String>>();
this.selectedAlternativeStereotypes = new ArrayList<Metadata<String>>();
this.enabledInterceptors = new ArrayList<Metadata<String>>();
this.enabledDecorators = new ArrayList<Metadata<String>>();
this.extensions = new HashSet<Metadata<Extension>>();
this.properties = new HashMap<String, Object>();
this.packages = new HashSet<PackInfo>();
this.containerLifecycleObservers = new LinkedList<>();
this.resourceLoader = new WeldResourceLoader();
this.additionalServices = new HashMap<>();
this.extendedBeanDefiningAnnotations = new HashSet<>();
}
代码示例来源:origin: org.jboss.weld.servlet/weld-servlet-shaded
public Class<?> classForName(String name) {
try {
return getClassLoader().loadClass(name);
} catch (ClassNotFoundException e) {
throw new ResourceLoadingException(e);
} catch (LinkageError e) {
throw new ResourceLoadingException(e);
}
}
代码示例来源:origin: org.jboss.weld.se/weld-se
ClassLoader jnlpClassLoader = WeldResourceLoader.getClassLoader();
Class<?> jnlpClClass = jnlpClassLoader.getClass();
代码示例来源:origin: weld/core
ClassLoader jnlpClassLoader = WeldResourceLoader.getClassLoader();
Class<?> jnlpClClass = jnlpClassLoader.getClass();
代码示例来源:origin: weld/core
ClassLoader jnlpClassLoader = WeldResourceLoader.getClassLoader();
Class<?> jnlpClClass = jnlpClassLoader.getClass();
代码示例来源:origin: weld/core
ClassLoader jnlpClassLoader = WeldResourceLoader.getClassLoader();
Class<?> jnlpClClass = jnlpClassLoader.getClass();
代码示例来源:origin: org.jboss.weld.se/weld-se-shaded
ClassLoader jnlpClassLoader = WeldResourceLoader.getClassLoader();
Class<?> jnlpClClass = jnlpClassLoader.getClass();
本文整理了Java中org.jboss.weld.environment.deployment.WeldResourceLoader.()方法的一些代码示例,展示了WeldResourceLoader
本文整理了Java中org.jboss.weld.environment.deployment.WeldResourceLoader.getClassLoader()方法的一些代码示例,展示了Weld
我是一名优秀的程序员,十分优秀!