Top Description Constructors Methods
org.jboss.modules

public final Class LocalLoaders

extends Object
Class Inheritance
Imports
org.jboss.modules.filter.ClassFilter, .ClassFilters, .PathFilter, .PathFilters

Static factory methods for various types of local loaders.
Author
David M. Lloyd

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LocalLoader

Returns:

the filtered loader
createClassFilteredLocalLoader
(final ClassFilter
the class filter to apply to classes
classFilter
,
final LocalLoader
the original loader
originalLoader
)

Create a filtered local loader.

public static LocalLoader

Returns:

the filtered loader
createFilteredLocalLoader
(final ClassFilter
the class filter to apply to classes
classFilter
,
final PathFilter
the path filter to apply to resources
resourcePathFilter
,
final LocalLoader
the original loader
originalLoader
)

Create a filtered local loader.

public static IterableLocalLoader

Returns:

the filtered loader
createIterableClassFilteredLocalLoader
(final ClassFilter
the class filter to apply to classes
classFilter
,
final IterableLocalLoader
the original loader
originalLoader
)

Create a filtered local loader.

public static IterableLocalLoader

Returns:

the filtered loader
createIterableFilteredLocalLoader
(final ClassFilter
the class filter to apply to classes
classFilter
,
final PathFilter
the path filter to apply to resources
resourcePathFilter
,
final IterableLocalLoader
the original loader
originalLoader
)

Create a filtered local loader.

public static IterableLocalLoader

Returns:

the filtered loader
createIterablePathFilteredLocalLoader
(final PathFilter
the path filter to apply to resources
pathFilter
,
final IterableLocalLoader
the original loader
originalLoader
)

Create a filtered local loader.

public static LocalLoader

Returns:

the filtered loader
createPathFilteredLocalLoader
(final PathFilter
the path filter to apply to resources
pathFilter
,
final LocalLoader
the original loader
originalLoader
)

Create a filtered local loader.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LocalLoadersback to summary
private LocalLoaders()

Method Detail

createClassFilteredLocalLoaderback to summary
public static LocalLoader createClassFilteredLocalLoader(final ClassFilter classFilter, final LocalLoader originalLoader)

Create a filtered local loader.

Parameters
classFilter:ClassFilter

the class filter to apply to classes

originalLoader:LocalLoader

the original loader

Returns:LocalLoader

the filtered loader

createFilteredLocalLoaderback to summary
public static LocalLoader createFilteredLocalLoader(final ClassFilter classFilter, final PathFilter resourcePathFilter, final LocalLoader originalLoader)

Create a filtered local loader.

Parameters
classFilter:ClassFilter

the class filter to apply to classes

resourcePathFilter:PathFilter

the path filter to apply to resources

originalLoader:LocalLoader

the original loader

Returns:LocalLoader

the filtered loader

createIterableClassFilteredLocalLoaderback to summary
public static IterableLocalLoader createIterableClassFilteredLocalLoader(final ClassFilter classFilter, final IterableLocalLoader originalLoader)

Create a filtered local loader.

Parameters
classFilter:ClassFilter

the class filter to apply to classes

originalLoader:IterableLocalLoader

the original loader

Returns:IterableLocalLoader

the filtered loader

createIterableFilteredLocalLoaderback to summary
public static IterableLocalLoader createIterableFilteredLocalLoader(final ClassFilter classFilter, final PathFilter resourcePathFilter, final IterableLocalLoader originalLoader)

Create a filtered local loader.

Parameters
classFilter:ClassFilter

the class filter to apply to classes

resourcePathFilter:PathFilter

the path filter to apply to resources

originalLoader:IterableLocalLoader

the original loader

Returns:IterableLocalLoader

the filtered loader

createIterablePathFilteredLocalLoaderback to summary
public static IterableLocalLoader createIterablePathFilteredLocalLoader(final PathFilter pathFilter, final IterableLocalLoader originalLoader)

Create a filtered local loader.

Parameters
pathFilter:PathFilter

the path filter to apply to resources

originalLoader:IterableLocalLoader

the original loader

Returns:IterableLocalLoader

the filtered loader

createPathFilteredLocalLoaderback to summary
public static LocalLoader createPathFilteredLocalLoader(final PathFilter pathFilter, final LocalLoader originalLoader)

Create a filtered local loader.

Parameters
pathFilter:PathFilter

the path filter to apply to resources

originalLoader:LocalLoader

the original loader

Returns:LocalLoader

the filtered loader