public class YaafiToAvalonContextMapper
extends java.lang.Object
Constructor and Description |
---|
YaafiToAvalonContextMapper(java.lang.String urnAvalonName,
java.lang.ClassLoader urnAvalonClassLoader)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getUrnAvalonClassLoader() |
java.lang.String |
getUrnAvalonName() |
org.apache.avalon.framework.context.DefaultContext |
mapTo(org.apache.avalon.framework.context.Context context,
java.lang.String to)
Map a YAAFI (Merlin) context to a different incarnation
|
public YaafiToAvalonContextMapper(java.lang.String urnAvalonName, java.lang.ClassLoader urnAvalonClassLoader)
urnAvalonName
- the name of the component for which we create the contexturnAvalonClassLoader
- the classloader of the componentpublic java.lang.ClassLoader getUrnAvalonClassLoader()
public java.lang.String getUrnAvalonName()
public org.apache.avalon.framework.context.DefaultContext mapTo(org.apache.avalon.framework.context.Context context, java.lang.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 © 2000-2013 Apache Software Foundation. All Rights Reserved.