com.atlassian.sal.core.component
Class DefaultComponentLocator
java.lang.Object
com.atlassian.sal.api.component.ComponentLocator
com.atlassian.sal.core.component.DefaultComponentLocator
public class DefaultComponentLocator
- extends ComponentLocator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComponentLocator
public DefaultComponentLocator(HostContextAccessor accessor)
getComponentInternal
protected <T> T getComponentInternal(Class<T> iface)
- Description copied from class:
ComponentLocator
- Gets the requested component, to be overridden for each application
- Specified by:
getComponentInternal in class ComponentLocator
- Parameters:
iface - The interface to lookup
- Returns:
- The implementation
getComponentInternal
protected <T> T getComponentInternal(Class<T> iface,
String componentId)
- Description copied from class:
ComponentLocator
- Gets the requested component, to be overridden for each application
- Specified by:
getComponentInternal in class ComponentLocator
- Parameters:
iface - The interface to lookupcomponentId - key of the component
- Returns:
- The implementation
getComponentsInternal
protected <T> Collection<T> getComponentsInternal(Class<T> iface)
- Specified by:
getComponentsInternal in class ComponentLocator
Copyright © 2011 Atlassian. All Rights Reserved.