11-25-2016 03:05 AM
activiti:delegateExpression="${databaseDelegateBean}"
@Component("databaseDelegateBean")
@Scope(value = "prototype")
public class DatabaseServiceDelegate implements JavaDelegate {
private Logger logger = LoggerFactory.getLogger(DatabaseServiceDelegate.class);
@Autowired
@Qualifier("dbHelperService")
private DBHelperService dbHelperService;
private Expression hostname;
private Expression port;
public DatabaseServiceDelegate(){
logger.info("Hello my friend !!!!");
}
@Override
public void execute(DelegateExecution delegateExecution) throws Exception {
…
<bean id="databaseDelegateBean" class="com.vadi.designer.extension.database.handler.DatabaseServiceDelegate"/>
…
@ComponentScan(basePackages = { "org.activiti.explorer.conf" , "com.designer.extension" })
…
11-25-2016 05:16 AM
11-25-2016 07:58 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.