public interface ISpringContextLocator extends org.apache.wicket.util.io.IClusterable
class SpringContextLocator implements ISpringContextLocator
{
public ApplicationContext getSpringContext()
{
// MyApplication is the subclass of WebApplication used by the application
return ((MyApplication)Application.get()).getContext();
}
}
SpringBeanLocator| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getSpringContext()
Getter for spring application context
|
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.