Setting up Eclipse for TIBCO ActiveMatrix BusinessWorks ActiveAspects Plug-in DevelopmentTo setup Eclipse for the TIBCO ActiveMatrix BusinessWorks ActiveAspects Plug-in development do the following:Figure 2Creating a JAVA Project
3. To attach the source to the samplesImpl.jar, right click on the jar in the Referenced Libraries in the Eclipse Project Explorer and select properties. In the Java Source Attachment, select External File and browse to samplesImpl-src.jar. This will attach the source code to the java classes.To create an advice implementation you would need to extend the SyncAdvice class.
2. Extend the SyncAdvice or AsyncAdvice (for Async Advice Implementations) class with the required generics.
4. Override the execute() and postExecute() and cancelled() for Async Advice Implementations method in the advice implementation class.Figure 4Creating an Advice Implementation
1.
2. Add the following line in bwengine.tra.java.extended.properties=-Xmx512m -Xms128m -XX:MaxPermSize=128m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
3.
5. Change the port number to the one specified in the bwengine.tra.Figure 5 Debugging an Advice Implementation
6. Click Debug to connect to the running bwengine.
Copyright © TIBCO Software Inc. All Rights Reserved.