Difference between revisions of "Lib"

From ADF Docs
Jump to: navigation, search
(Component Properties)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
Directory of the component library for the ADF.  The universal components are stored in unique directories.  The component files are versioned within the directory.   
+
[[Lib]] is the ADF directory for the component library.  The universal components are stored in unique directories.  The component files are versioned within the directory.   
  
 
Refer to the [[Library|ADF Library]] wiki documentation for components and functions in the ADF Lib.
 
Refer to the [[Library|ADF Library]] wiki documentation for components and functions in the ADF Lib.
Line 14: Line 14:
 
** Name field is "version"
 
** Name field is "version"
 
** Value field is the version number, example "1_0_0"
 
** Value field is the version number, example "1_0_0"
  <cfproperty name="version" value="1_0_0">
+
 +
<cfproperty name="version" value="1_0_0">
 +
 
 
* Type
 
* Type
 
** Name field is "Type"
 
** Name field is "Type"
 
** Value field is the bean type that will be created.  This will be either "singleton" or "transient"
 
** Value field is the bean type that will be created.  This will be either "singleton" or "transient"
 
** Default is "transient"
 
** Default is "transient"
  <cfproperty name="type" value="transient">
+
 
 +
<cfproperty name="type" value="transient">
 +
 
 
* Dependency
 
* Dependency
 
** Name field is the Property Name for the dependency
 
** Name field is the Property Name for the dependency
 
** InjectedBean field, this is the bean to be injected
 
** InjectedBean field, this is the bean to be injected
 
** Type field is "dependency"
 
** Type field is "dependency"
  <cfproperty name="CCAPI" type="dependency" injectedBean="CCAPI">
+
 +
<cfproperty name="CCAPI" type="dependency" injectedBean="CCAPI">
 +
  
 
[[Category: Library]]
 
[[Category: Library]]

Latest revision as of 16:05, 19 October 2016

Overview

Lib is the ADF directory for the component library. The universal components are stored in unique directories. The component files are versioned within the directory.

Refer to the ADF Library wiki documentation for components and functions in the ADF Lib.

Component Properties

The library components have properties that define the version, bean type, and dependencies.

See the Library Component Versions wiki page for details on the component versioning methodology.

The formatting for the properties is as follows:

  • Version
    • Name field is "version"
    • Value field is the version number, example "1_0_0"
<cfproperty name="version" value="1_0_0">
  • Type
    • Name field is "Type"
    • Value field is the bean type that will be created. This will be either "singleton" or "transient"
    • Default is "transient"
<cfproperty name="type" value="transient">
  • Dependency
    • Name field is the Property Name for the dependency
    • InjectedBean field, this is the bean to be injected
    • Type field is "dependency"
<cfproperty name="CCAPI" type="dependency" injectedBean="CCAPI">