|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.merlin.impl.DefaultFactory
The DefaultFactory provides support for the establishment of a new merlin kernel.
Constructor Summary | |
DefaultFactory(InitialContext context,
ClassLoader classloader)
Creation of a new default factory. |
Method Summary | |
Object |
create()
Creation of a new kernel using the default criteria. |
Object |
create(Map map)
Creation of a new kernel using the supplied criteria. |
Map |
createDefaultCriteria()
Return of map containing the default parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultFactory(InitialContext context, ClassLoader classloader)
context
- the repository inital contextclassloader
- the factory classloaderMethod Detail |
public Map createDefaultCriteria()
createDefaultCriteria
in interface Factory
public Object create() throws Exception
create
in interface Factory
Exception
- if an error occurs during root block establishmentpublic Object create(Map map) throws Exception
create
in interface Factory
map
- the parameters
Exception
- if an error occurs during kernel creation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |