com.tibco.bw.poa.model
Interface ActivityConfig

All Superinterfaces:
CommonBaseConfig, TargetConfig
All Known Implementing Classes:
ActivityConfigImpl

public interface ActivityConfig
extends TargetConfig

The configuration of the action that is executed by an advice.

Since:
1.0

Field Summary
static java.lang.String TARGET_ACTIVITY
           
static byte WHERE_AFTER
          The advice executes after the activity either returns successfully or it throws an exception.
static byte WHERE_AFTER_RETURNING
          The advice is executed after the activity returns successfully.
static byte WHERE_AFTER_THROWING
          The advice executes after the activity throws an exception.
static byte WHERE_BEFORE
          The advice is executed before the activity.
 
Method Summary
 java.util.List<javax.xml.namespace.QName> getExceptionType()
          Returns the type(s) of the exception(s) that are handled by this advice.
 byte getWhere()
          Returns information about where is the advice being executed.
 
Methods inherited from interface com.tibco.bw.poa.model.TargetConfig
getImplementation, getTargetType
 
Methods inherited from interface com.tibco.bw.poa.model.CommonBaseConfig
getDocumentation
 

Field Detail

WHERE_BEFORE


static final byte WHERE_BEFORE
The advice is executed before the activity.

See Also:
Constant Field Values

WHERE_AFTER_RETURNING


static final byte WHERE_AFTER_RETURNING
The advice is executed after the activity returns successfully.

See Also:
Constant Field Values

WHERE_AFTER_THROWING


static final byte WHERE_AFTER_THROWING
The advice executes after the activity throws an exception.

See Also:
Constant Field Values

WHERE_AFTER


static final byte WHERE_AFTER
The advice executes after the activity either returns successfully or it throws an exception.

See Also:
Constant Field Values

TARGET_ACTIVITY


static final java.lang.String TARGET_ACTIVITY
See Also:
Constant Field Values
Method Detail

getWhere


byte getWhere()
Returns information about where is the advice being executed. An advice can be executed in one of the following types of join points:

Returns:

getExceptionType


java.util.List<javax.xml.namespace.QName> getExceptionType()
Returns the type(s) of the exception(s) that are handled by this advice. The format of the exception type string is the following:
 <exception-type> ::= <exceptionTypeQName> (", " <exceptionTypeQName> )*
 <exceptionTypeQName> ::= "{" <exceptionTypeNamespace> "}" <exceptionTypeLocalName>
   where
        <exceptionTypeNamespace> is the target namespace of the XML Schema that defines the exception type
        <exceptionTypeLocalName> is the name of the exception type
 

Returns:
a list with all exception type QName(s) handled by this advice


Copyright @ 2010, TIBCO Softwares (Inc). All right reserved