org.ops4j.pax.wicket.api
Class InjectorHolder
java.lang.Object
org.ops4j.pax.wicket.api.InjectorHolder
public final class InjectorHolder
- extends Object
A simple singleton class storing and retrieving PaxWicketInjector
s. The getInjector()
method only
works in an PaxWicket-Enabled integration context.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInjector
public static PaxWicketInjector getInjector()
- Retrieves the InjectionHolder responsible for the active
Application
. Therefore this will only work in an
active Wicket context!
setInjector
public static void setInjector(String applicationName,
PaxWicketInjector newInjector)
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.