|
|||||||||||
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. |
void |
printComponentModel(StringBuffer buffer,
String lead,
ComponentModel model)
|
void |
printContainmentModel(StringBuffer buffer,
String lead,
ContainmentModel model)
|
void |
printDeploymentModel(StringBuffer buffer,
String lead,
DeploymentModel model)
|
void |
printModel(DeploymentModel model)
|
void |
printModel(StringBuffer buffer,
String lead,
DeploymentModel model)
|
void |
setupLanguageCode(KernelCriteria criteria)
If the kernel criteria includes a language code then set the current local to the declared value. |
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 creationpublic void setupLanguageCode(KernelCriteria criteria)
criteria
- the kernel criteriapublic void printModel(DeploymentModel model)
public void printModel(StringBuffer buffer, String lead, DeploymentModel model)
public void printContainmentModel(StringBuffer buffer, String lead, ContainmentModel model)
public void printComponentModel(StringBuffer buffer, String lead, ComponentModel model)
public void printDeploymentModel(StringBuffer buffer, String lead, DeploymentModel model)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |