framework and plugin

Discussion in 'Java' started by miten.mehta@morganstanley.com, Aug 10, 2007.

  1. Guest

    Hello,

    I would like to make API that allows plugin the way sun xml sax
    parsers are pluggable.

    I would like write my algorithm and make it pluggable in my framework.

    Say my service is "SearchAlgorithm". Looking the way xml parser is
    made pluggable I guess the plugin jar would need to have META-INF/
    services/SearchAlgorithm file with its content as class name of
    provider class say "XYZSearchAlgorithm".

    I am not sure how to code my API and use it in my framework so that
    the vendor api is pluggable.

    I know how to use factory method and abstract factory. But here we
    are trying to use jar service provider specs.

    cc response to

    Thanks.
     
    , Aug 10, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. PilotYid
    Replies:
    1
    Views:
    674
    Andrew Thompson
    Oct 31, 2005
  2. Marcin Cenkier
    Replies:
    1
    Views:
    5,497
    Marcin Cenkier
    Apr 12, 2006
  3. Discipulus
    Replies:
    1
    Views:
    820
    Jack Diederich
    May 23, 2005
  4. Jimmy
    Replies:
    0
    Views:
    541
    Jimmy
    Mar 15, 2007
  5. Replies:
    1
    Views:
    766
Loading...

Share This Page