| |
|
| java.lang.Object org.jboss.mx.loading.ClassPreloadService
ClassPreloadService | public class ClassPreloadService (Code) | | A simple service that can be used preload all classes in the classpath
of the thread context class loader seen in the start method as the thread
context class loader. A simple xmbean fragment for deploying the service
is:
The patterns for classpath includes
IncludePatterns
[Ljava.lang.String;
The patterns for classpath excludes
ExcludePatterns
[Ljava.lang.String;
A flag indicate if String.endsWith matching of includes/excludes should be used
SimpleMatch
[Ljava.lang.String;
start
jbossmq.jar
true
author: Scott.Stark@jboss.org version: $Revision: 57200 $ |
Field Summary | |
static Logger | log | boolean | trace |
getExcludePatterns | public String[] getExcludePatterns()(Code) | | |
getIncludePatterns | public String[] getIncludePatterns()(Code) | | |
getRawClassPath | public URL[] getRawClassPath()(Code) | | |
isSimpleMatch | public boolean isSimpleMatch()(Code) | | |
setExcludePatterns | public void setExcludePatterns(String[] excludePattern)(Code) | | |
setIncludePatterns | public void setIncludePatterns(String[] includePattern)(Code) | | |
setSimpleMatch | public void setSimpleMatch(boolean simpleMatch)(Code) | | |
start | public void start()(Code) | | Load all classes seen the TCL classpath. This entails a scan of every
archive in the TCL classpath URLs for .class entries.
|
|
|
|