|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Factory
represents the type for factories of bootstrap services.
Factories are used when it is not possible to describe directly an element in the
Kernel.xml configuration file. In this case, factories may be used. A factory should
implement the Factory
interface and have a public no-arg constructor.
The factory is registered in the configuration file using a FACTORY
construct stipulating the name of the context element to construct and the
java class name of the factory.
Method Summary | |
java.lang.Object |
newObject(Context c)
Returns an object created using information contained in the provided context . |
Method Detail |
public java.lang.Object newObject(Context c) throws JonathanException
context
.
context
.
JonathanException
- if something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |