| 
       ColdFusion 9.0 Resources  | 
      
      
      Specifying a destinationA destination is the server-side service or object that you call. You configure Data Management destinations in the data-management-config.xml file. The destination contains the following elements: 
 The following code shows a sample destination: <destination id="cfcontact"> 
<!-- Use the ColdFusion adapter for any CF specific destinations--> 
    <adapter ref="coldfusion-dao" /> 
<channels> 
<channel ref="cf-polling-amf" /> 
</channels> 
 
    <properties> 
        <!--The component name or path on the CF server--> 
            <component>samples.contact.ContactAssembler</component> 
        <!--Either "application" or "request"--> 
            <scope>request</scope> 
        <!-- The hostname or IP address of the CF host. If Data Services is installed as 
            part of CF, you omit this. If Data Services runs outside of CF, you must 
            define this. <hostname>localhost</hostname>--> 
 
        <!--This is the ID of the ColdFusion Data Management service as configured in      
        the ColdFusion Administrator. Only needed if you have more than one instance of 
        CF on a machine and Data Services is not installed as part of CF. 
        <identity>default</identity> --> 
        <!--Credentials to pass to the assembler CFC for all clients. Generally better 
        to use setRemoteCredentials() API on client <remote-username></remote-username> 
        <remote-password></remote-password>--> 
    <metadata> 
        <identity property="contactId" /> 
        <!--Optional, If the Assembler fill routine returns a query,you must define an 
            Actionscript type for the rows.--> 
        <query-row-type>samples.contact.Contact</query-row-type> 
    </metadata> 
 
    <network> 
        <!--  Add network elements here--> 
    </network> 
 
    <server> 
    <!-- The method declarations are ignored for CFC Assemblers, with the exception of 
    the fill-method settings. No parameters are defined here, unlike Java. Any arguments 
    provided via the AS call are passed along to the CFC, just use optional arguments 
    when defining the CFC.--> 
    <fill-method> 
    <!--Does the assembler have a "fill-contains" method? This method is used to 
    determine whether to refresh the fill. If the specified method returns true the fill 
    is re-executed after a create or update. Auto-refresh determines if the fill is 
    always refreshed if not specified. May only be used when auto-refresh is true. 
    Optional. Default is false.--> 
    <use-fill-contains>false</use-fill-contains> 
    <!-- Determines whether to refresh the fill on updates or creates. Optional. Default 
        value is true.--> 
    <auto-refresh>true</auto-refresh> 
    <!--Determines whether order is important for this filled collection. Allows for 
    performance optimization when order is not important. Optional. Default value is 
    true.--> 
 
    <ordered>true</ordered> 
 
    </fill-method> 
    </server> 
    </properties> 
</destination>
 |