Package com.atlassian.jira.config.component
package com.atlassian.jira.config.component
-
ClassDescriptionAn
InvocationSwitcher
whose return value comes from a specific flag inApplicationProperties
.The InvocationSwitcher is used in conjunction with theSwitchingInvocationHandler
.The SwitchingInvocationAdapter returns a proxy that allows for dynamic determination of which class implementation to be called on when invoking a specified method.AnInvocationHandler
that switches between two delegates (an "enabled" one and a "disabled" one), based on the return value ofInvocationSwitcher.isEnabled()
.