[Building Sakai] Best way to instantiate object in Sakai?

le tan vu imleeu at gmail.com
Mon Dec 6 07:07:52 PST 2010


Hi all,
I'm concerning which is the best way to instantiate (create) an object from
a class in Sakai?
I often find Sakai uses some service and instantiate an object from that
service.
E.g:
Assignment a = AssignmentService.getAssignment(assignmentID);

How can I create a new class and embed that class into an existing tool,
after that, instantiate some objects for further using if it doesn't belong
to any service as above example?

Many thanks and best regards,
-- 
Vu Tan Le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101206/ab18fb79/attachment.html 


More information about the sakai-dev mailing list