org.apache.commons.classscan.builtin
Class DefaultClassPathFactory

java.lang.Object
  extended by org.apache.commons.classscan.builtin.DefaultClassPathFactory
All Implemented Interfaces:
ClassPathFactory

public class DefaultClassPathFactory
extends Object
implements ClassPathFactory


Constructor Summary
DefaultClassPathFactory()
           
 
Method Summary
 SpiClassPath getClassPath(SpiMetaRegistry registry, ClassLoader classLoader)
          Create a ClassPath for a ClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassPathFactory

public DefaultClassPathFactory()
Method Detail

getClassPath

public SpiClassPath getClassPath(SpiMetaRegistry registry,
                                 ClassLoader classLoader)
Description copied from interface: ClassPathFactory
Create a ClassPath for a ClassLoader

Specified by:
getClassPath in interface ClassPathFactory
Parameters:
registry - The registry
classLoader - The classLoader
Returns:
null, if the ClassLoader type cannot be supported; otherwise a ClassPath for the ClassLoader


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.