org.apache.hivemind.impl
Class RegistryProviderAutoDetector
java.lang.Object
org.apache.hivemind.impl.RegistryProviderAutoDetector
public class RegistryProviderAutoDetector
- extends java.lang.Object
Searches for RegistryProvider
implementations
that are defined in manifest files. Creates an instance of each
implementation and returns them in the getProviders method.
The manifest file must contain a global attribute hivemind-providers
which contains a comma separated list of classes that implement
the RegistryProvider
interface.
- Author:
- Achim Huegen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MANIFEST
public static final java.lang.String MANIFEST
- See Also:
- Constant Field Values
HIVEMIND_SECTION_NAME
public static final java.lang.String HIVEMIND_SECTION_NAME
- See Also:
- Constant Field Values
PROVIDER_ATTRIBUTE_NAME
public static final java.lang.String PROVIDER_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
RegistryProviderAutoDetector
public RegistryProviderAutoDetector(ClassResolver resolver)
getProviders
public java.util.List getProviders()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.