org.apache.openejb.config
Class NewLoaderLogic

java.lang.Object
  extended by org.apache.openejb.config.NewLoaderLogic

public class NewLoaderLogic
extends Object

Version:
$Rev$ $Date$

Field Summary
static String ADDITIONAL_EXCLUDES
           
static String ADDITIONAL_INCLUDE
           
static String DEFAULT_EXCLUSIONS_ALIAS
           
static String EXCLUSION_FILE
           
 
Constructor Summary
NewLoaderLogic()
           
 
Method Summary
static void _loadFromClasspath(FileUtils base, List<URL> jarList, ClassLoader classLoader)
           
static org.apache.xbean.finder.UrlSet applyBuiltinExcludes(org.apache.xbean.finder.UrlSet urlSet)
           
static org.apache.xbean.finder.UrlSet applyBuiltinExcludes(org.apache.xbean.finder.UrlSet urlSet, org.apache.xbean.finder.filter.Filter includeFilter)
           
static org.apache.xbean.finder.UrlSet applyBuiltinExcludes(org.apache.xbean.finder.UrlSet urlSet, org.apache.xbean.finder.filter.Filter includeFilter, org.apache.xbean.finder.filter.Filter excludeFilter)
           
static Set<String> callers()
           
static org.apache.xbean.finder.UrlSet filterArchives(org.apache.xbean.finder.filter.Filter filter, ClassLoader classLoader, org.apache.xbean.finder.UrlSet urlSet)
           
static String[] getExclusions()
           
static org.apache.xbean.finder.filter.Filter getFilter()
           
static String[] readInputStreamList(InputStream is)
           
static String sanitize(String value)
           
static void setExclusions(String[] exclusionArray)
           
static boolean skip(String name)
           
static boolean skip(URL url)
           
static boolean skip(URL url, org.apache.xbean.finder.filter.Filter includeFilter, org.apache.xbean.finder.filter.Filter excludeFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXCLUSIONS_ALIAS

public static final String DEFAULT_EXCLUSIONS_ALIAS
See Also:
Constant Field Values

ADDITIONAL_EXCLUDES

public static final String ADDITIONAL_EXCLUDES

ADDITIONAL_INCLUDE

public static final String ADDITIONAL_INCLUDE

EXCLUSION_FILE

public static final String EXCLUSION_FILE
See Also:
Constant Field Values
Constructor Detail

NewLoaderLogic

public NewLoaderLogic()
Method Detail

filterArchives

public static org.apache.xbean.finder.UrlSet filterArchives(org.apache.xbean.finder.filter.Filter filter,
                                                            ClassLoader classLoader,
                                                            org.apache.xbean.finder.UrlSet urlSet)

callers

public static Set<String> callers()

applyBuiltinExcludes

public static org.apache.xbean.finder.UrlSet applyBuiltinExcludes(org.apache.xbean.finder.UrlSet urlSet)
                                                           throws MalformedURLException
Throws:
MalformedURLException

applyBuiltinExcludes

public static org.apache.xbean.finder.UrlSet applyBuiltinExcludes(org.apache.xbean.finder.UrlSet urlSet,
                                                                  org.apache.xbean.finder.filter.Filter includeFilter)
                                                           throws MalformedURLException
Throws:
MalformedURLException

skip

public static boolean skip(URL url)

skip

public static boolean skip(URL url,
                           org.apache.xbean.finder.filter.Filter includeFilter,
                           org.apache.xbean.finder.filter.Filter excludeFilter)

skip

public static boolean skip(String name)

applyBuiltinExcludes

public static org.apache.xbean.finder.UrlSet applyBuiltinExcludes(org.apache.xbean.finder.UrlSet urlSet,
                                                                  org.apache.xbean.finder.filter.Filter includeFilter,
                                                                  org.apache.xbean.finder.filter.Filter excludeFilter)
                                                           throws MalformedURLException
Throws:
MalformedURLException

setExclusions

public static void setExclusions(String[] exclusionArray)

getExclusions

public static String[] getExclusions()

getFilter

public static org.apache.xbean.finder.filter.Filter getFilter()

sanitize

public static String sanitize(String value)

readInputStreamList

public static String[] readInputStreamList(InputStream is)

_loadFromClasspath

public static void _loadFromClasspath(FileUtils base,
                                      List<URL> jarList,
                                      ClassLoader classLoader)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.