Hi,

You can create an OSGi bundle and put it into '/component/dropings'.

http://wso2.org/library/knowledgebase/add-external-jar-libraries-wso2-carbon-based-products


http://wso2.org/library/tutorials/develop-osgi-bundles-using-maven-bundle-plugin




On Tue, Mar 26, 2013 at 6:50 AM, Zach Dennis <[email protected]> wrote:

> Hello,
>
> What is the appropriate way to construct JAR files that depend on wso2
> classes/jars at runtime?
>
> Here's why I ask...  I'm working on writing a custom OAuth validation
> callback handler per
> blog.thilinamb.com/2012/08/writing-oauthcallbackhandler-for-wso2_7.html .
>
> I can compile my class against the appropriate WSO2 jar's allows me to
> create my own jar which I copy into repository/components/extensions/.
> After which, I restart WSO2,  but upon it trying to use my callback handler
> I receive the ClassNotFoundException
> on org.wso2.carbon.identity.oauth.callback.AbstractOAuthCallbackHandler.
>
> I believe that this is due to my jar not being OSGi-compatible, but I'm
> not 100% sure.
>
> Any ideas?
>
> --
> @zachdennis
> http://www.continuousthinking.com
> http://www.mutuallyhuman.com
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 71 5186770
blog: *http://www.mind4web.org/ <http://www.apache.org/>*
twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>**
harshathirimann
linked-in: **http: <http://lk.linkedin.com/in/afkhamazeez>**//
www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
*
*
*Lean . Enterprise . Middleware*
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to