PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 59ms app.codeStats 0ms

/SampleApplication/ColdBox3/config/ModelMappings.cfm

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
ColdFusion | 31 lines | 6 code | 2 blank | 23 comment | 0 complexity | afc30b3775d86926e742dceb1306b709 MD5 | raw file
 1<!-----------------------------------------------------------------------
 2********************************************************************************
 3Copyright 2005-2008 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
 4www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com
 5********************************************************************************
 6
 7Author     :	Luis Majano
 8Date        :	10/16/2007
 9Description :
10	This file is used by the BeanFactory plugin to read off model mappings.
11	This is a great place to alias model paths into names so when you 
12	refactor you can easily do this.
13	
14	All you need to do is call one method: addModelMapping(alias,path)
15	
16	Alias : The alias to create
17	Path : The model class path to alias.
18	
19	Example:
20	
21	addModelMapping('FormBean',"security.test.FormBean");
22	
23----------------------------------------------------------------------->
24<cfscript>
25	/* Add all the model mappings you want */
26	/* addModelMapping(alias="",path="") */
27		
28	addModelMapping( path="artist.ArtistService" );
29	
30	addModelMapping( path="form.FormService" );
31</cfscript>