A couple of other approaches:
A. You can create your application objects with ColdSpring and set
them up directly in the properties area. There's a
"beansToMachIIProperties" tag in the
MachII.properties.ColdspringProperty cfc.
Example: in services.xml (ColdSpring configuration file)
<bean id="sessionFacade" class="path.to.sessionFacade"/>
In the Mach-II configuration file:
<property name="coldSpringProperty"
type="MachII.properties.ColdspringProperty">
<parameters>
<parameter name="beanFactoryPropertyName"
value="serviceFactory"/>
...
<parameter name="beansToMachIIProperties">
<struct>
<key name="sessionFacade"
value="sessionFacade"/>
</struct>
</parameter>
</parameters>
</property>
ColdSpring creates your object and it becomes a Mach-II property
B. Have your component extend MachII.framework.Property and set it up
in the properties area. See
http://greatbiztoolsllc-trac.cvsdude.com/mach-ii/wiki/NewPropertyDatatypes
(toward the bottom)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---