Hi All,

I have a query..

I am writing a app, which has sort of plugin framework.

public abstract class AbstractService
{
   public abstract AbstractService getInstance(String name);
}

i write some classes A, B, C which are derived from AbstractService.

Now, How do i create the instances of A, B or C dynamically with the help of
the String that is passed as the input parameter to the function
getInstance..

Could you please let me how they can achieve??





-- 
Regards,
Manjunatha

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to