/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. ********************************************************************************
  3. Copyright 2005-2008 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
  4. www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com
  5. ********************************************************************************
  6. Author : Luis Majano
  7. Date : 10/16/2007
  8. Description :
  9. This file is used by the BeanFactory plugin to read off model mappings.
  10. This is a great place to alias model paths into names so when you
  11. refactor you can easily do this.
  12. All you need to do is call one method: addModelMapping(alias,path)
  13. Alias : The alias to create
  14. Path : The model class path to alias.
  15. Example:
  16. addModelMapping('FormBean',"security.test.FormBean");
  17. ----------------------------------------------------------------------->
  18. <cfscript>
  19. /* Add all the model mappings you want */
  20. /* addModelMapping(alias="",path="") */
  21. addModelMapping( path="artist.ArtistService" );
  22. addModelMapping( path="form.FormService" );
  23. </cfscript>