org.apache.commons.classscan.spi
Interface ClassDigesterFactory
- All Known Implementing Classes:
- BcelClassDigesterFactory
public interface ClassDigesterFactory
Provider to create a SpiClassDigester. Provider instances should be
registered using the ServiceLoader
facility. The provider class
should have a public default constructor. The first instance of a provider
class which is successfully instantiated will be used. The order in the
classpath will determine which SpiClassDigester will be used.
createDigester
SpiClassDigester createDigester(MetaRegistry metaRegistry)
- Create a SpiClassDigester. The factory may throw an exception or error if unsuccessful in loading dependent jars.
- Parameters:
metaRegistry
- The registry
- Returns:
- A SpiClassDigester
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.