Klasse AvalonToYaafiContextMapper
java.lang.Object
org.apache.fulcrum.yaafi.framework.context.AvalonToYaafiContextMapper
Helper for converting Avalon Context of Fortress and Phoenix
container to a standard Merlin context.
- Autor:
- Siegfried Goeschl
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAvalonToYaafiContextMapper
(File tempRootDir, org.apache.avalon.framework.context.Context context, ClassLoader classLoader) Constructor -
Methodenübersicht
-
Konstruktordetails
-
AvalonToYaafiContextMapper
public AvalonToYaafiContextMapper(File tempRootDir, org.apache.avalon.framework.context.Context context, ClassLoader classLoader) Constructor- Parameter:
tempRootDir
- current temp directorycontext
- the existing contextclassLoader
- the classloader
-
-
Methodendetails
-
mapFrom
public org.apache.avalon.framework.context.Context mapFrom(org.apache.avalon.framework.context.Context context, String from) throws org.apache.avalon.framework.context.ContextException Map a Avalon context to the YAAFI (Merlin) incarnation whereas the following containers are supported- merlin
- fortress
- phoenix
- Parameter:
context
- the Avalon context to mapfrom
- Avalon container identifier- Gibt zurück:
- the mapped Avalon context
- Löst aus:
org.apache.avalon.framework.context.ContextException
- Accessing the context failed
-