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) |
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, wait
register
public static final String DEFAULT_BEAN_NAME
public void destroy()
ContainerProvider
destroy
in interface ContainerProvider
public void loadPackages() throws ConfigurationException
PackageProvider
loadPackages
in interface PackageProvider
ConfigurationException
- in case of configuration errorspublic void init(Configuration configuration) throws ConfigurationException
ContainerProvider
init
in interface ContainerProvider
init
in interface PackageProvider
configuration
- The configurationConfigurationException
- If anything goes wrongpublic boolean needsReload()
ContainerProvider
needsReload
in interface ContainerProvider
needsReload
in interface PackageProvider
protected void alias(Class type, String key, ContainerBuilder builder, Properties props)
protected void alias(Class type, String key, ContainerBuilder builder, Properties props, Scope scope)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.