|
Revision 1076, 1.0 kB
(checked in by lmajano, 5 years ago)
|
|
new ses illudium
|
-
Property svn:mime-type set to
text/plain
|
| Line | |
|---|
| 1 | <cfoutput> |
|---|
| 2 | <%?xml version="1.0" encoding="UTF-8"?%> |
|---|
| 3 | |
|---|
| 4 | <%beans%> |
|---|
| 5 | |
|---|
| 6 | <!--ColdBox Factory, if needed --> |
|---|
| 7 | <%bean id="coldboxFactory" class="coldbox.system.extras.ColdboxFactory" /%> |
|---|
| 8 | |
|---|
| 9 | <%bean id="#root.bean.xmlAttributes.name#DAO" class="#root.bean.xmlAttributes.path#DAO"%> |
|---|
| 10 | <%constructor-arg name="dsn"%><%value%>${datasources.YOUR_ALIAS_HERE.name}<%/value%><%/constructor-arg%> |
|---|
| 11 | <%/bean%> |
|---|
| 12 | <%bean id="#root.bean.xmlAttributes.name#Gateway" class="#root.bean.xmlAttributes.path#Gateway"%> |
|---|
| 13 | <%constructor-arg name="dsn"%><%value%>${datasources.YOUR_ALIAS_HERE.name}<%/value%><%/constructor-arg%> |
|---|
| 14 | <%/bean%> |
|---|
| 15 | <%bean id="#root.bean.xmlAttributes.name#Service" class="#root.bean.xmlAttributes.path#Service" singleton="false"%> |
|---|
| 16 | <%constructor-arg name="#root.bean.xmlAttributes.name#DAO" %> |
|---|
| 17 | <%ref bean="#root.bean.xmlAttributes.name#DAO"/%> |
|---|
| 18 | <%/constructor-arg%> |
|---|
| 19 | <%constructor-arg name="#root.bean.xmlAttributes.name#Gateway"%> |
|---|
| 20 | <%ref bean="#root.bean.xmlAttributes.name#Gateway"/%> |
|---|
| 21 | <%/constructor-arg%> |
|---|
| 22 | <%/bean%> |
|---|
| 23 | <%/beans%> |
|---|
| 24 | </cfoutput> |
|---|