public class ClassConfiguration extends Object
Constructor and Description |
---|
ClassConfiguration(Class aClass)
Constructs the configuration.
|
Modifier and Type | Method and Description |
---|---|
Object |
create(Scope aScope)
Creates the object in the given scope.
|
ConstructorConfiguration |
getConstructorConfig() |
ObjectConfiguration |
getObjectConfig() |
List<ProvidedInterface> |
getProvidedInterfaces() |
List<RequiredInterface> |
getRequiredInterfaces() |
void |
inject(Scope aScope,
Object aObject)
Injects required interfaces through the setters
|
public ClassConfiguration(Class aClass)
#select(Class...)
or #greedy()
must be called.aClass
- Class to construct.public ConstructorConfiguration getConstructorConfig()
public ObjectConfiguration getObjectConfig()
public Object create(Scope aScope)
aScope
- Scope containing required interfaces for this object.public void inject(Scope aScope, Object aObject)
aScope
- Scope in which injection takes place.aObject
- Object to inject into.public List<ProvidedInterface> getProvidedInterfaces()
public List<RequiredInterface> getRequiredInterfaces()
Copyright © 2022. All rights reserved.