public class

SwitchingInvocationAdapter

extends AbstractSwitchingInvocationAdaptor<T>
java.lang.Object
   ↳ com.atlassian.jira.config.component.AbstractComponentAdaptor<T>
     ↳ com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor<T>
       ↳ com.atlassian.jira.config.component.SwitchingInvocationAdapter<T>

Class Overview

The SwitchingInvocationAdapter returns a proxy that allows for dynamic determination of which class implementation to be called on when invoking a specified method.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.config.component.AbstractComponentAdaptor
Public Constructors
SwitchingInvocationAdapter(Class<T> interfaceClass, Class<? extends T> enabledClass, Class<? extends T> disabledClass, InvocationSwitcher invocationSwitcher)
Protected Methods
InvocationSwitcher getInvocationSwitcher()
[Expand]
Inherited Methods
From class com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor
From class com.atlassian.jira.config.component.AbstractComponentAdaptor
From class java.lang.Object
From interface org.picocontainer.ComponentAdapter

Public Constructors

public SwitchingInvocationAdapter (Class<T> interfaceClass, Class<? extends T> enabledClass, Class<? extends T> disabledClass, InvocationSwitcher invocationSwitcher)

Protected Methods

protected InvocationSwitcher getInvocationSwitcher ()