public interface AtomicComponent extends Component
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Supplier<java.lang.Object> |
createSupplier()
Create a Supplier that returns an instance of this AtomicComponent.
|
java.lang.Object |
getInstance()
Returns a component instance for the current context.
|
void |
releaseInstance(java.lang.Object instance)
Signals that an implementation has been released from use.
|
endUpdate, getContributionUri, getUri, start, startUpdate, stopjava.util.function.Supplier<java.lang.Object> createSupplier()
java.lang.Object getInstance()
throws org.fabric3.api.host.Fabric3Exception
releaseInstance(Object).org.fabric3.api.host.Fabric3Exception - if there is an error returning an instancevoid releaseInstance(java.lang.Object instance)
throws org.fabric3.api.host.Fabric3Exception
instance - the instanceorg.fabric3.api.host.Fabric3Exception - if there is an error releasing the component