public interface DependentComponentFactoryMetadata extends ComponentFactoryMetadata
Modifier and Type | Interface and Description |
---|---|
static interface |
DependentComponentFactoryMetadata.SatisfactionCallback
Interface that allows to notify the container when the dependencies of the component
become satisfied or unsatified.
|
ACTIVATION_EAGER, ACTIVATION_LAZY
Modifier and Type | Method and Description |
---|---|
String |
getDependencyDescriptor()
Return a string representation of the dependencies of this component.
|
boolean |
isSatisfied()
Are all dependencies of this component satisfied?
|
void |
startTracking(DependentComponentFactoryMetadata.SatisfactionCallback observer)
Start tracking the dependencies for this component.
|
void |
stopTracking()
Stop tracking the dependencies for this component.
|
create, destroy, init
getActivation, getDependsOn, getId
void startTracking(DependentComponentFactoryMetadata.SatisfactionCallback observer)
observer
- The container callback for alerting the container of status changesvoid stopTracking()
String getDependencyDescriptor()
boolean isSatisfied()
Copyright © 2012. All Rights Reserved.