站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

ClassLoaderUtil (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.instantiation
Class ClassLoaderUtil

java.lang.Object
  extended byorg.jbpm.instantiation.ClassLoaderUtil

public class ClassLoaderUtil
extends java.lang.Object

provides centralized classloader lookup.


Constructor Summary
ClassLoaderUtil()
           
 
Method Summary
static java.lang.ClassLoader getClassLoader()
           
static java.lang.ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)
           
static java.util.Properties getProperties(java.lang.String resource, java.lang.String directory)
           
static java.io.InputStream getStream(java.lang.String resource)
           
static java.io.InputStream getStream(java.lang.String resource, java.lang.String directory)
          searches the given resource, first on the root of the classpath and if not not found there, in the given directory.
static java.lang.Class loadClass(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderUtil

public ClassLoaderUtil()
Method Detail

loadClass

public static java.lang.Class loadClass(java.lang.String className)

getClassLoader

public static java.lang.ClassLoader getClassLoader()

getStream

public static java.io.InputStream getStream(java.lang.String resource)

getStream

public static java.io.InputStream getStream(java.lang.String resource,
                                            java.lang.String directory)
searches the given resource, first on the root of the classpath and if not not found there, in the given directory.


getProperties

public static java.util.Properties getProperties(java.lang.String resource,
                                                 java.lang.String directory)

getProcessClassLoader

public static java.lang.ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)


Version : jbpm-3.0.4