C - The type of the component instance.public interface ComponentRevision<C>
extends org.everit.osgi.linkage.ConfigurableResource, org.everit.osgi.linkage.EmbeddedResource
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
The cause of the failure of the component.
|
ComponentContainer<C> |
getComponentContainer()
The container that this component revision belongs to.
|
org.osgi.framework.wiring.BundleRevision |
getDeclaringResource() |
Thread |
getProcessingThread()
In case of
ComponentState.STARTING or ComponentState.STOPPING state the method
returns the thread that initiatied the state change on the component. |
Map<String,Object> |
getProperties()
The configuration properties of the component.
|
ComponentState |
getState()
The state of the component.
|
Throwable getCause()
null if the component is not in
ComponentState.FAILED state.ComponentContainer<C> getComponentContainer()
org.osgi.framework.wiring.BundleRevision getDeclaringResource()
getDeclaringResource in interface org.everit.osgi.linkage.EmbeddedResourceThread getProcessingThread()
ComponentState.STARTING or ComponentState.STOPPING state the method
returns the thread that initiatied the state change on the component. This information can be
useful if there is a long-running task or a deadlock during the state change.ComponentState.STARTING or
ComponentState.STOPPING or null if the component has a different state.Map<String,Object> getProperties()
getProperties in interface org.everit.osgi.linkage.ConfigurableResourceComponentState getState()
Copyright © 2011–2015 Everit Kft.. All rights reserved.