public class IOCController
extends java.lang.Object
The IOCController
is responsible for property injection. The
controller searches for fields with an IOC
annotation. Any such
annotation is filled with a value provided by the IOCProvider
.
The controllers performance depends on a caching strategy. The caching strategy assumes, that you reuse the controller, which is a thread safe object.
Constructor and Description |
---|
IOCController() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(IOCProvider pProvider,
java.lang.Object pObject)
Initializes the given objects properties.
|
public void initialize(IOCProvider pProvider, java.lang.Object pObject) throws CSAppFrameworkException
pProvider
- The IOCProvider object.pObject
- the IOCListener object.CSAppFrameworkException
- if an internal error occurs.