public class ScopeComponent extends DefaultComponent
| Constructor and Description |
|---|
ScopeComponent(Class<? extends Object> klass,
int scope)
Creates a new ScopeComponent for the given class with the given scope.
|
ScopeComponent(Class<? extends Object> klass,
List<Object> initValues,
int scope)
Creates a new ScopeComponent for the given class with the given init (constructor) values in the given scope.
|
ScopeComponent(Class<? extends Object> klass,
List<Object> initValues,
Map<String,Object> props,
int scope)
Creates a new ScopeComponent for the given class with the given property map and the given init (constructor) values in the given scope.
|
ScopeComponent(Class<? extends Object> klass,
Map<String,Object> props,
int scope)
Creates a new ScopeComponent for the given class with the given property map in the given scope.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getScope() |
addInitValue, addInitValues, addProperties, addProperty, getBean, getTypepublic ScopeComponent(Class<? extends Object> klass, int scope)
klass - The class used to create new instances.scope - The scope.public ScopeComponent(Class<? extends Object> klass, List<Object> initValues, int scope)
klass - The class used to create new instances.initValues - The values for the constructor.scope - The scopepublic ScopeComponent(Class<? extends Object> klass, Map<String,Object> props, int scope)
klass - The class used to create new instances.props - The properties that need to be injected in each instance.scope - The scopepublic ScopeComponent(Class<? extends Object> klass, List<Object> initValues, Map<String,Object> props, int scope)
klass - The class used to create new instances.initValues - The values for the constructor.props - The properties that need to be injected in each instance.scope - The scopeCopyright © 2015. All Rights Reserved.