org.objectweb.jonathan.apis.kernel
Interface Initializer
- JAssemblage, JAtom, JImplicitFactory
public interface Initializer
Initializer
represents the type for initializers of services.
Initializers are used in order to break circularities while creating services.
For the time being, the only way to use initializers is to use factories
that also implement the
Initializer
interface.
void | initialize(Object object, Context context, int alternative) - Initialize an object using information contained in the provided
context .
|
initialize
public void initialize(Object object,
Context context,
int alternative)
throws JonathanException
Initialize an object using information contained in the provided
context
.
object
- initialized using information contained in context
.context
- a Context
object;alternative
- the implementation alternative to use. If there is no
alternative, this argument's value is -1.
JonathanException
- if something goes wrong.