net.sf.oval.integration.spring
Class SpringInjector

java.lang.Object
  extended by net.sf.oval.integration.spring.SpringInjector

@Component
public class SpringInjector
extends Object

Injects spring beans into unmanaged Java objects having Autowired, Value and javax.inject.Inject annotations.

 <bean class="net.sf.oval.integration.spring.SpringInjector" />
 
or
 <context:component-scan base-package="net.sf.oval.integration.spring" />
 

Author:
Sebastian Thomschke

Method Summary
static SpringInjector get()
           
 void inject(Object unmanagedBean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static SpringInjector get()

inject

public void inject(Object unmanagedBean)


Copyright © 2005–2015 The OVal Development Team. All rights reserved.