How to implement an extended activity in EasyBPEL?

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
</tns:ExtendedActivitiesInitialization>
{code}


You can see in {{definition}} a file is set, that must be present in the extended activity project and that contains configuration. This configuratioon file details what is the namespace of the extended activity, and for each activity of this namespace, the tag associated to the extended activity (in the taken example, there was only one extended activity).

{code:xml|title=MyExtendedActivityPackageConfiguration.xml|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>

<tns:ExtendedActivityConfigurationList

xmlns:tns="http://com.ebmwebsourcing.easybpel/ExtendedActivityConfiguration"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:my="http://mynamespace/mypackage/MyExtendedActivity">

<tns:extendedActivityConf>

<tns:tag>my:myactivity</tns:tag>

<tns:className>mypackage.MyExtendedActivityImpl</tns:className>

</tns:extendedActivityConf>

[...]
</tns:ExtendedActivityConfigurationList>
{code}