public abstract class AbstractBeanSelectionProvider extends Object implements BeanSelectionProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BEAN_NAME |
| Constructor and Description |
|---|
AbstractBeanSelectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
alias(Class type,
String key,
ContainerBuilder builder,
Properties props) |
protected void |
alias(Class type,
String key,
ContainerBuilder builder,
Properties props,
Scope scope) |
protected void |
convertIfExist(LocatableProperties props,
String fromKey,
String toKey) |
void |
destroy()
Called before removed from the configuration manager
|
void |
init(Configuration configuration)
Initializes with the configuration
|
void |
loadPackages()
Loads the packages for the configuration.
|
boolean |
needsReload()
Tells whether the ContainerProvider should reload its configuration
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterpublic static final String DEFAULT_BEAN_NAME
public void destroy()
ContainerProviderdestroy in interface ContainerProviderpublic void loadPackages()
throws ConfigurationException
PackageProviderloadPackages in interface PackageProviderConfigurationException - in case of configuration errorspublic void init(Configuration configuration) throws ConfigurationException
ContainerProviderinit in interface ContainerProviderinit in interface PackageProviderconfiguration - The configurationConfigurationException - If anything goes wrongpublic boolean needsReload()
ContainerProviderneedsReload in interface ContainerProviderneedsReload in interface PackageProviderprotected void alias(Class type, String key, ContainerBuilder builder, Properties props)
protected void alias(Class type, String key, ContainerBuilder builder, Properties props, Scope scope)
protected void convertIfExist(LocatableProperties props, String fromKey, String toKey)
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.