public class AvalonToYaafiContextMapper extends Object
Constructor and Description |
---|
AvalonToYaafiContextMapper(File tempRootDir,
org.apache.avalon.framework.context.Context context,
ClassLoader classLoader)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.apache.avalon.framework.context.Context |
mapFrom(org.apache.avalon.framework.context.Context context,
String from)
Map a Avalon context to the YAAFI (Merlin) incarnation whereas
the following containers are supported
merlin
fortress
phoenix
|
public AvalonToYaafiContextMapper(File tempRootDir, org.apache.avalon.framework.context.Context context, ClassLoader classLoader)
tempRootDir
- current temp directorycontext
- the existing contextclassLoader
- the classloaderpublic org.apache.avalon.framework.context.Context mapFrom(org.apache.avalon.framework.context.Context context, String from) throws org.apache.avalon.framework.context.ContextException
context
- the Avalon context to mapfrom
- Avalon container identifierorg.apache.avalon.framework.context.ContextException
- Accessing the context failedCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.