Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policyengine.impl.runtime
Class AssertionExecutor

java.lang.Object
  extended by oracle.wsm.policyengine.impl.AssertionExecutor
      extended by oracle.wsm.policyengine.impl.runtime.AssertionExecutor

All Implemented Interfaces:
IAssertionExecutor
Direct Known Subclasses:
LogAssertionExecutor, SecurityScenarioExecutor

public abstract class AssertionExecutor
extends AssertionExecutor

Field Summary

 

Fields inherited from class oracle.wsm.policyengine.impl.AssertionExecutor
assertion, econtext

 

Constructor Summary
AssertionExecutor()
           

 

Method Summary
 IResult execute(IContext context)
          Must always return a non-null IResult object.
abstract  IResult execute(IMessageContext messageContext)
           
 IResult postExecute(IContext context)
          Executes any task required after policy execution.
 IResult postExecute(IMessageContext messageContext)
          Executes any task required after policy execution.

 

Methods inherited from class oracle.wsm.policyengine.impl.AssertionExecutor
generateFault, getAssertion, getAssertionName, getExecutionContext, init, isAssertionEnabled

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.wsm.policyengine.IAssertionExecutor
destroy, init

 

Constructor Detail

AssertionExecutor

public AssertionExecutor()

Method Detail

execute

public final IResult execute(IContext context)
                      throws WSMException
Description copied from interface: IAssertionExecutor
Must always return a non-null IResult object. Must indicate success/failure or other state through the status field. The IResult.getFault() method returns the detailed cause for failure. It is highly recommended that fault field be populated in case of failure. IResult.getFault() should return a null in case of success; even if getFault() returns a WSMException it should be ignored if the status is set to success. Currently the behavior of getFault() for other states is undefined.
Returns:
Throws:
WSMException

execute

public abstract IResult execute(IMessageContext messageContext)
                         throws WSMException
Throws:
WSMException

postExecute

public final IResult postExecute(IContext context)
                          throws WSMException
Executes any task required after policy execution.
Specified by:
postExecute in interface IAssertionExecutor
Overrides:
postExecute in class AssertionExecutor
Throws:
WSMException

postExecute

public IResult postExecute(IMessageContext messageContext)
                    throws WSMException
Executes any task required after policy execution.
Throws:
WSMException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.