[Building Sakai] How to make available Melete api objects in other Tools

Steve Swinsburg steve.swinsburg at gmail.com
Sun Jan 8 15:17:14 PST 2012


Hi,

Are the objects deployed to tomcat/shared/lib AND setup as a spring bean? If so you should be able to just inject them into your app either via some Spring XML config or the Spring resource annotation:

@Resource(name="org.sakaiproject.some.spring.bean.name")
private Class clazz;

cheers,
Steve

On 06/01/2012, at 11:21 PM, Bhanu Teja Motupalli wrote:

> 
> Hi All,
> 
>    I have created a new project by using SakaiAppBuilder. Now i need to use
> Melete api objects in my new tool. i gone through this link
> "https://confluence.sakaiproject.org/display/BOOT/Sakai+Framework+Tips" that
> to know "how use some sakai existing classes". I tried in the same way for
> the melete api classess. I got some exception Like The specific bean is not
> available in the sakai bean factory.
> 
>    Can any one please let me know, how to use the api objects in other
> tools.
> 
> Thanks and Regards
> Bhanu Teja M.
> -- 
> View this message in context: http://old.nabble.com/How-to-make-available-Melete-api-objects-in-other-Tools-tp33092602p33092602.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120109/26252fba/attachment.html 


More information about the sakai-dev mailing list