public class YaafiToAvalonContextMapper extends Object
Constructor and Description |
---|
YaafiToAvalonContextMapper(String urnAvalonName,
ClassLoader urnAvalonClassLoader)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getUrnAvalonClassLoader() |
String |
getUrnAvalonName() |
org.apache.avalon.framework.context.DefaultContext |
mapTo(org.apache.avalon.framework.context.Context context,
String to)
Map a YAAFI (Merlin) context to a different incarnation
|
public YaafiToAvalonContextMapper(String urnAvalonName, ClassLoader urnAvalonClassLoader)
urnAvalonName
- the name of the component for which we create the contexturnAvalonClassLoader
- the classloader of the componentpublic ClassLoader getUrnAvalonClassLoader()
public String getUrnAvalonName()
public org.apache.avalon.framework.context.DefaultContext mapTo(org.apache.avalon.framework.context.Context context, String to) throws org.apache.avalon.framework.context.ContextException
context
- the context to be mappedto
- the target Avalon containerorg.apache.avalon.framework.context.ContextException
- accessing the context failedCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.