public class DSRootCause extends Object
| Constructor and Description |
|---|
DSRootCause(org.osgi.service.component.runtime.ServiceComponentRuntime scr)
Create new instance
|
| Modifier and Type | Method and Description |
|---|---|
DSComp |
getRootCause(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO desc)
Get the root cause for a component description
|
DSComp |
getRootCause(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO desc,
Collection<org.osgi.service.component.runtime.dto.ComponentDescriptionDTO> allDTOs)
Get the root cause for a component description
|
Optional<DSComp> |
getRootCause(String iface)
Get the root cause based on an interface name
|
Optional<DSComp> |
getRootCause(String iface,
Collection<org.osgi.service.component.runtime.dto.ComponentDescriptionDTO> allDTOs)
Get the root cause based on an interface name
|
public DSRootCause(org.osgi.service.component.runtime.ServiceComponentRuntime scr)
scr - Service component runtimepublic Optional<DSComp> getRootCause(String iface)
iface - The interface namepublic Optional<DSComp> getRootCause(String iface, Collection<org.osgi.service.component.runtime.dto.ComponentDescriptionDTO> allDTOs)
iface - The interface nameallDTOs - A collection with all dtos as a cache to lookup, optionalpublic DSComp getRootCause(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO desc)
desc - The descriptionpublic DSComp getRootCause(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO desc, Collection<org.osgi.service.component.runtime.dto.ComponentDescriptionDTO> allDTOs)
desc - The descriptionallDTOs - A collection with all dtos as a cache to lookup, optionalCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.