com.retek.commons.component
Class ContextOperationWithAnyException

java.lang.Object
  extended bycom.retek.commons.component.ContextOperationWithAnyException
Direct Known Subclasses:
ContextOperation, ContextOperationWithBusinessException

public abstract class ContextOperationWithAnyException
extends java.lang.Object


Constructor Summary
ContextOperationWithAnyException(java.lang.Class callingClass, java.lang.String callingMethod)
           
ContextOperationWithAnyException(java.lang.String contextName)
           
 
Method Summary
protected  void createContext()
           
protected abstract  java.lang.Object doExecute()
           
protected abstract  java.lang.Object execute()
           
protected  DistributedContext getContext()
           
protected  RetekLogger getLogger()
           
protected  void handleError(java.lang.Throwable t)
           
protected  java.lang.Object handleSuccess(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextOperationWithAnyException

public ContextOperationWithAnyException(java.lang.Class callingClass,
                                        java.lang.String callingMethod)

ContextOperationWithAnyException

public ContextOperationWithAnyException(java.lang.String contextName)
Method Detail

execute

protected abstract java.lang.Object execute()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

doExecute

protected abstract java.lang.Object doExecute()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

handleSuccess

protected java.lang.Object handleSuccess(java.lang.Object obj)
                                  throws SystemException,
                                         BusinessException
Throws:
SystemException
BusinessException

handleError

protected void handleError(java.lang.Throwable t)

createContext

protected final void createContext()

getContext

protected final DistributedContext getContext()

getLogger

protected final RetekLogger getLogger()


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28