Hello,
Im having a problem loading a as class that implements an interface. this should be straightforward but what im doing wrong here:
spring-actionscript.xml
Code:
<object id="configurl" class="com.buspinoy.utils.config.BPConfiguration">
<property name="userUploadUrl" value="helloworld" />
</object>
the AS class...
Code:
package com.buspinoy.utils.config
{
public class BPConfiguration implements Configuration
{
private var _userUploadUrl:String;
public function BPConfiguration()
{
}
public function set userUploadUrl(url:String):void
{
this._userUploadUrl = url;
}
public function get userUploadUrl():String
{
return this._userUploadUrl;
}
}
}
the interface...
Code:
package com.buspinoy.utils.config
{
public interface Configuration
{
function get userUploadUrl():String;
}
}
here is the trace....
Error: A class with the name 'com.buspinoy.utils.config.BPConfiguration' could not be found.
at as3reflect::ClassUtils$/forName()
at org.springextensions.actionscript.ioc.factory.supp ort:
efaultListableObjectFactory/getObjectNamesForType()
at org.springextensions.actionscript.context.support: :XMLApplicationContext/registerObjectPostProcessors()
at org.springextensions.actionscript.context.support: :XMLApplicationContext/afterParse()
at org.springextensions.actionscript.ioc.factory.xml: :XMLObjectFactory/_doParse()
...do i need to updagrade something? but when i remove the interface it works properly.
Thanks a lot.
Cheers?