public class DefaultComponentLocator extends ComponentLocator
| Constructor and Description |
|---|
DefaultComponentLocator(HostContextAccessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
getComponentInternal(Class<T> iface)
Gets the requested component, to be overridden for each application
|
protected <T> T |
getComponentInternal(Class<T> iface,
String componentId)
Gets the requested component, to be overridden for each application
|
protected <T> Collection<T> |
getComponentsInternal(Class<T> iface) |
convertClassToName, getComponent, getComponent, getComponents, isInitialized, setComponentLocatorpublic DefaultComponentLocator(HostContextAccessor accessor)
protected <T> T getComponentInternal(Class<T> iface)
ComponentLocatorgetComponentInternal in class ComponentLocatoriface - The interface to lookupprotected <T> T getComponentInternal(Class<T> iface, String componentId)
ComponentLocatorgetComponentInternal in class ComponentLocatoriface - The interface to lookupcomponentId - key of the componentprotected <T> Collection<T> getComponentsInternal(Class<T> iface)
getComponentsInternal in class ComponentLocatorCopyright © 2018 Atlassian. All rights reserved.