org.apache.wicket.spring.injection.annot
Class AnnotSpringInjector

java.lang.Object
  extended by org.apache.wicket.injection.Injector
      extended by org.apache.wicket.injection.ConfigurableInjector
          extended by org.apache.wicket.spring.injection.annot.AnnotSpringInjector

public class AnnotSpringInjector
extends ConfigurableInjector

Injector that injects classes based on SpringBean annotation

Author:
Igor Vaynberg (ivaynberg)

Constructor Summary
AnnotSpringInjector(ISpringContextLocator locator)
          Constructor
AnnotSpringInjector(ISpringContextLocator locator, boolean wrapInProxies)
          Constructor
 
Method Summary
protected  IFieldValueFactory getFieldValueFactory()
          Return the field value factory that will be used to inject objects
 
Methods inherited from class org.apache.wicket.injection.ConfigurableInjector
inject
 
Methods inherited from class org.apache.wicket.injection.Injector
getInstance, inject, isBoundaryClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotSpringInjector

public AnnotSpringInjector(ISpringContextLocator locator)
Constructor

Parameters:
locator - spring context locator

AnnotSpringInjector

public AnnotSpringInjector(ISpringContextLocator locator,
                           boolean wrapInProxies)
Constructor

Parameters:
locator - spring context locator
wrapInProxies - whether or not wicket should wrap dependencies with specialized proxies that can be safely serialized. in most cases this should be set to true.
Method Detail

getFieldValueFactory

protected IFieldValueFactory getFieldValueFactory()
Description copied from class: ConfigurableInjector
Return the field value factory that will be used to inject objects

Specified by:
getFieldValueFactory in class ConfigurableInjector
Returns:
field value locator factory that will be used to inject objects


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.