You should look at CDI [1], which takes this concept much, much further.

[1]
http://code.google.com/p/jee6-cdi/wiki/DependencyInjectionAnIntroductoryTutorial



On 22 February 2013 18:42, Kevin Meyer - KMZ <[email protected]> wrote:

>
> > > I just need to figure out how to add create a new Isis Wicket viewer
> > > panel.. Is it true that all I need to do is create a file in
> > > "META-INF/services" called:
> > > "org.apache.isis.viewer.wicket.ui.ComponentFactory"
> > > that lists the full class name of my
> > > "CollectionOfEntitiesAsLocatablesFactory" implementation?
> >
> >  yup, that's all you need to do.  It uses the little-used (but part of
> the
> > JDK) ServiceLoader API ... see ComponentFactoryRegistrarDefault
>
> It's bits of magic like this that make me go Wow!
>
>
>

Reply via email to