|
Spring BlazeDS Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.flex.core.ManageableComponentFactoryBean
public class ManageableComponentFactoryBean
FactoryBean
that allows for the creation of BlazeDS ManageableComponent
prototype instances with the
appropriate ManageableComponent.initialize(String, ConfigMap)
callback after creation. Useful for configuring
non-singleton helper objects such as a custom JavaAdapter
.
Constructor Summary | |
---|---|
ManageableComponentFactoryBean(Class<? extends ManageableComponent> componentClass)
Creates a new ManageableComponentFactoryBean for the specified component class |
Method Summary | |
---|---|
ManageableComponent |
getObject()
|
Class<?> |
getObjectType()
|
boolean |
isSingleton()
It is expected that objects created by this factory will always be prototype instances. |
void |
setBeanName(String name)
|
void |
setProperties(ConfigMap properties)
Sets the properties ConfigMap to use in initializing the created component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManageableComponentFactoryBean(Class<? extends ManageableComponent> componentClass)
componentClass
- the class of the component this FactoryBean
will createMethod Detail |
---|
public ManageableComponent getObject() throws Exception
getObject
in interface FactoryBean<ManageableComponent>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<ManageableComponent>
public final boolean isSingleton()
isSingleton
in interface FactoryBean<ManageableComponent>
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setProperties(ConfigMap properties)
ConfigMap
to use in initializing the created component
properties
- the properties map
|
Spring BlazeDS Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |