com.atlassian.jira.component
Class ComponentAccessorWorker

java.lang.Object
  extended by com.atlassian.jira.component.ComponentAccessorWorker
All Implemented Interfaces:
ComponentAccessor.Worker

public class ComponentAccessorWorker
extends Object
implements ComponentAccessor.Worker

Worker class that insulates the API from the implementation dependencies in ManagerFactory etc.

Since:
v4.3

Constructor Summary
ComponentAccessorWorker()
           
 
Method Summary
<T> T
getComponent(Class<T> componentClass)
           
<T> T
getComponentOfType(Class<T> componentClass)
           
 FieldAccessor getFieldAccessor()
           
<T> T
getOSGiComponentInstanceOfType(Class<T> componentClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentAccessorWorker

public ComponentAccessorWorker()
Method Detail

getComponent

public <T> T getComponent(Class<T> componentClass)
Specified by:
getComponent in interface ComponentAccessor.Worker

getComponentOfType

public <T> T getComponentOfType(Class<T> componentClass)
Specified by:
getComponentOfType in interface ComponentAccessor.Worker

getOSGiComponentInstanceOfType

public <T> T getOSGiComponentInstanceOfType(Class<T> componentClass)
Specified by:
getOSGiComponentInstanceOfType in interface ComponentAccessor.Worker

getFieldAccessor

public FieldAccessor getFieldAccessor()
Specified by:
getFieldAccessor in interface ComponentAccessor.Worker


Copyright © 2002-2012 Atlassian. All Rights Reserved.