com.atlassian.jira.config.component
Class UnsupportedClassInvocationHandler

java.lang.Object
  extended by com.atlassian.jira.config.component.UnsupportedClassInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class UnsupportedClassInvocationHandler
extends Object
implements InvocationHandler

A simple handler that will throw an UnsupportedOperationException for all method calls.


Constructor Summary
UnsupportedClassInvocationHandler(String enterpriseClassName)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsupportedClassInvocationHandler

public UnsupportedClassInvocationHandler(String enterpriseClassName)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2002-2012 Atlassian. All Rights Reserved.