      * @param container  The DisplayObjectContainer containing named
      *                   children to assign to <code>target</code>.
      * @param target  The instance to populate.
+     * @param domain  The ApplicationDomain to use when resolving adapter
+     *                classes. Defaults to the domain where this class is first
+     *                defined.
      *
      * @throws org.yellcorp.lib.display.inject.DisplayPathError
      *         If a child with the default or overridden name could not be

     * @throws org.yellcorp.lib.display.inject.DisplayMetadataError
     *         If a metadata parameter is invalid.
     */
    public static function inject(container:DisplayObjectContainer, target:*):void
    {
        var type:XML = describeType(target);

        var displayMetadata:XMLList = type.*.(

    }


    private static function construct(adapter:String, displayObject:*, domain:ApplicationDomain):*
    {
        var clazz:Object = domain.getDefinition(adapter);
        return new clazz(displayObject);
    }
}
