attachDependency
Attach an additional dependency onto a resource
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > attachDependency

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:sys

Definition

Active URI Base

active:attachDependency

Format

<instr>
  <type>attachDependency</type>
  <operand>var:resource</operand>
  <param>var:dependency</param>
  <target>var:veryDependentResource</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory attachDependency
operandMandatory the resource to attach the dependency to.
paramMandatory the resource to be added as a dependency
targetMandatory the resource with attached dependency

NetKernel provides a dependency based cache. In general accessors automatically accumulate the dependencies on any results they generate. In some obscure situations it is useful to add additional dependencies to a resource.

© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.