Skip navigation links

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

E10689-03


oracle.wsm.policyengine
Interface IAssertionExecutor

All Known Implementing Classes:
AssertionExecutor

public interface IAssertionExecutor

Method Summary
 void destroy()
          The destroy method for a cleaner ending of the assertion lifecycle.
 IResult execute(IContext mcontext)
          Must always return a non-null IResult object.
 java.lang.String getAssertionName()
           
 IExecutionContext getExecutionContext()
          Return the Execution Context
 void init(IAssertion ia, IExecutionContext context, IContext msgContext)
          This method is called after the AssertionExecutor is created or after one of the properties has been changed.
 boolean isAssertionEnabled()
           
 IResult postExecute(IContext messageContext)
          Executes any task required after policy execution.

 

Method Detail

isAssertionEnabled

boolean isAssertionEnabled()
Returns:
true if assertion is enabled, false otherwise.

getAssertionName

java.lang.String getAssertionName()
Returns:
name of this Assertion.

execute

IResult execute(IContext mcontext)
                throws WSMException
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.
Parameters:
mcontext -
Returns:
Throws:
WSMException

init

void init(IAssertion ia,
          IExecutionContext context,
          IContext msgContext)
          throws WSMException
This method is called after the AssertionExecutor is created or after one of the properties has been changed.
Throws:
WSMException
java.lang.IllegalStateException

destroy

void destroy()
The destroy method for a cleaner ending of the assertion lifecycle.

getExecutionContext

IExecutionContext getExecutionContext()
Return the Execution Context
Returns:

postExecute

IResult postExecute(IContext 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.4)

E10689-03


Copyright © 2007-2009, Oracle. All rights reserved.