mondrian.olap4j
Class MondrianOlap4jCell.MyDelegatingInvocationHandler

java.lang.Object
  extended by mondrian.util.DelegatingInvocationHandler
      extended by mondrian.olap4j.MondrianOlap4jCell.MyDelegatingInvocationHandler
All Implemented Interfaces:
InvocationHandler
Enclosing class:
MondrianOlap4jCell

public static class MondrianOlap4jCell.MyDelegatingInvocationHandler
extends DelegatingInvocationHandler


Constructor Summary
MondrianOlap4jCell.MyDelegatingInvocationHandler(ResultSet resultSet)
          Creates a MyDelegatingInvocationHandler.
 
Method Summary
 void close()
          Helper method to implement ResultSet.close().
protected  Object getTarget()
          Returns the object to forward method calls to, should the derived class not implement the method.
 
Methods inherited from class mondrian.util.DelegatingInvocationHandler
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MondrianOlap4jCell.MyDelegatingInvocationHandler

MondrianOlap4jCell.MyDelegatingInvocationHandler(ResultSet resultSet)
Creates a MyDelegatingInvocationHandler.

Parameters:
resultSet - Result set
Method Detail

getTarget

protected Object getTarget()
Description copied from class: DelegatingInvocationHandler
Returns the object to forward method calls to, should the derived class not implement the method. Generally, this object will be a member of the derived class, supplied as a parameter to its constructor.

The default implementation returns null, which will cause the DelegatingInvocationHandler.invoke(Object, java.lang.reflect.Method, Object[]) method to throw an UnsupportedOperationException if the derived class does not have the required method.

Overrides:
getTarget in class DelegatingInvocationHandler
Returns:
object to forward method calls to

close

public void close()
           throws SQLException
Helper method to implement ResultSet.close().

Throws:
SQLException - on error

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads