HI Sameera Got it working. Thx for the quick response. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729
On Thu, Jul 31, 2014 at 7:13 PM, Sameera Jayasoma <[email protected]> wrote: > Use the component.xml to declare your Aixs2Deployer class. This way your > artifacts will be deployed during the initialization of Axis2. > > You also need declare your deployer in the following manner in your > pom.xml, under bundle plugin configuration[1]. > > <Axis2Deployer>BPELDeployer</Axis2Deployer> > > > Thanks, > Sameera. > > [1] > http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/business-processes/bpel/org.wso2.carbon.bpel.deployer/4.2.2/pom.xml > > > On Thu, Jul 31, 2014 at 5:09 AM, Danushka Fernando <[email protected]> > wrote: > >> Hi all >> I am currently working on writing an deployer for application types in >> App factory. By looking at several places we have implemented deployers, I >> saw three ways of registering an deployer >> >> 1. Through some java code. The way DBDeployer (dbs) handled this was, >> implement an Axis2ConfigurationContextObserver and via that add DBDeployer >> to the Axis2 Deployment Engine. However this code is commented out. >> 2. Via a component.xml >> 3. Via the axis2.xml >> >> Can someone tell me whats the correct way of doing this? >> >> Since component.xml s are the ones that not commented out, I thought it >> might be the correct way but still I am having troubles with making it >> work. What I did was adding following component.xml to my component. >> >> <component xmlns="http://products.wso2.org/carbon"> >> <deployers> >> <deployer> >> <directory>apptype</directory> >> <extension>zip</extension> >> >> <class>org.wso2.carbon.appfactory.core.apptype.ApplicationTypeDeployer</class> >> </deployer> >> </deployers> >> </component> >> >> Do I need to do more things to make it work? >> >> Thanks & Regards >> Danushka Fernando >> Software Engineer >> WSO2 inc. http://wso2.com/ >> Mobile : +94716332729 >> > > > > -- > Sameera Jayasoma, > Software Architect, > > WSO2, Inc. (http://wso2.com) > email: [email protected] > blog: http://sameera.adahas.org > twitter: https://twitter.com/sameerajayasoma > flickr: http://www.flickr.com/photos/sameera-jayasoma/collections > Mobile: 0094776364456 > > Lean . Enterprise . Middleware > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
