org.apache.james.jspf.executor
Class IResponseImpl

java.lang.Object
  extended by org.apache.james.jspf.executor.IResponseImpl
All Implemented Interfaces:
IResponse

public class IResponseImpl
extends java.lang.Object
implements IResponse

Implementation of an IRespone Object


Constructor Summary
IResponseImpl(java.lang.Object id, java.lang.Exception e)
           
IResponseImpl(java.lang.Object id, java.util.List result)
           
 
Method Summary
 java.lang.Exception getException()
          Return the exception which was stored for the IResponse object
 java.lang.Object getId()
          Get id of the IResponse object
 java.lang.Object getValue()
          Get the value which is stored in the IResponse object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IResponseImpl

public IResponseImpl(java.lang.Object id,
                     java.lang.Exception e)

IResponseImpl

public IResponseImpl(java.lang.Object id,
                     java.util.List result)
Method Detail

getException

public java.lang.Exception getException()
Description copied from interface: IResponse
Return the exception which was stored for the IResponse object

Specified by:
getException in interface IResponse
Returns:
exception
See Also:
IResponse.getException()

getId

public java.lang.Object getId()
Description copied from interface: IResponse
Get id of the IResponse object

Specified by:
getId in interface IResponse
Returns:
id
See Also:
IResponse.getId()

getValue

public java.lang.Object getValue()
Description copied from interface: IResponse
Get the value which is stored in the IResponse object

Specified by:
getValue in interface IResponse
Returns:
object
See Also:
IResponse.getValue()


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.