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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to