Klasse AvalonToYaafiContextMapper

java.lang.Object
org.apache.fulcrum.yaafi.framework.context.AvalonToYaafiContextMapper

public class AvalonToYaafiContextMapper extends Object
Helper for converting Avalon Context of Fortress and Phoenix container to a standard Merlin context.
Autor:
Siegfried Goeschl
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    AvalonToYaafiContextMapper(File tempRootDir, org.apache.avalon.framework.context.Context context, ClassLoader classLoader)
    Constructor
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • AvalonToYaafiContextMapper

      public AvalonToYaafiContextMapper(File tempRootDir, org.apache.avalon.framework.context.Context context, ClassLoader classLoader)
      Constructor
      Parameter:
      tempRootDir - current temp directory
      context - the existing context
      classLoader - 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 map
      from - Avalon container identifier
      Gibt zurück:
      the mapped Avalon context
      Löst aus:
      org.apache.avalon.framework.context.ContextException - Accessing the context failed