The situation is, I want have a prototype scoped object referenced by a singleton object. In spring, I can do like this:

Java code:

SingletonObject.java
Code:
public class SingletonObject {

    public PrototypeObject getPrototypeScopedObject() {
    }

}
PrototypeObject.java
Code:
public class PrototypeObject {

}
application-context.xml
Code:
<bean class="SingletonObject" scope="singleton">
    <lookup-method name="getPrototypeScopedObject">
        <bean class="PrototypeObject" scope="prototype" />
    </lookup-method>
</bean>
so, everytime when I call getPrototypeScopedObject() method in instances of SingletonObject, I'll get a new instance of spring-managed PrototypeObject.

I don't know this feature or some way alternative is implemented by spring actionscript, so please anyone could help me to solve this problem - using a spring-managed prototype object in a singleton object.

Thanks a lot.