org.springframework.osgi.extender.support.scanning
Class DefaultConfigurationScanner
java.lang.Object
org.springframework.osgi.extender.support.scanning.DefaultConfigurationScanner
- All Implemented Interfaces:
- ConfigurationScanner
public class DefaultConfigurationScanner
- extends Object
- implements ConfigurationScanner
Default implementation of ConfigurationScanner
interface.
Supports Spring-Context manifest header and
META-INF/spring/*.xml.
- Author:
- Costin Leau
Method Summary |
String[] |
getConfigurations(Bundle bundle)
Returns an array of existing Spring configuration locations (as Strings)
for the given bundle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIG
public static final String DEFAULT_CONFIG
- Default configuration location
- See Also:
- Constant Field Values
DefaultConfigurationScanner
public DefaultConfigurationScanner()
getConfigurations
public String[] getConfigurations(Bundle bundle)
- Description copied from interface:
ConfigurationScanner
- Returns an array of existing Spring configuration locations (as Strings)
for the given bundle. If no resource was found, an empty/null array
should be returned.
- Specified by:
getConfigurations
in interface ConfigurationScanner
- Parameters:
bundle
- non-null bundle intended for scanning
- Returns:
- Spring configuration locations
Copyright © 2006-2009 Spring Framework. All Rights Reserved.