com.atlassian.jira.config.component
Class SwitchingInvocationAdapter

java.lang.Object
  extended by com.atlassian.jira.config.component.AbstractComponentAdaptor<T>
      extended by com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor
          extended by com.atlassian.jira.config.component.SwitchingInvocationAdapter
All Implemented Interfaces:
org.picocontainer.ComponentAdapter

public class SwitchingInvocationAdapter
extends AbstractSwitchingInvocationAdaptor

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


Field Summary
 
Fields inherited from class com.atlassian.jira.config.component.AbstractComponentAdaptor
container, interfaceClass
 
Constructor Summary
SwitchingInvocationAdapter(Class interfaceClass, Class enabledClass, Class disabledClass, InvocationSwitcher invocationSwitcher)
           
 
Method Summary
protected  InvocationSwitcher getInvocationSwitcher()
           
 
Methods inherited from class com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor
getComponentImplementation, getComponentInstance, getHandler, isEnabled
 
Methods inherited from class com.atlassian.jira.config.component.AbstractComponentAdaptor
getComponentKey, getContainer, setContainer, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchingInvocationAdapter

public SwitchingInvocationAdapter(Class interfaceClass,
                                  Class enabledClass,
                                  Class disabledClass,
                                  InvocationSwitcher invocationSwitcher)
Method Detail

getInvocationSwitcher

protected InvocationSwitcher getInvocationSwitcher()
Specified by:
getInvocationSwitcher in class AbstractSwitchingInvocationAdaptor


Copyright © 2002-2013 Atlassian. All Rights Reserved.