C - The type of the component instance.public interface ComponentRevision
          | 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.STARTINGorComponentState.STOPPINGstate 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.EmbeddedResource
Thread 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.ConfigurableResource
ComponentState getState()
Copyright © 2011–2016 Everit Kft.. All rights reserved.