ad_dispatch (public, deprecated)

 ad_dispatch method_name type [ args... ]

Defined in packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Calls method_name with the type as the first arg, and the remaining args are the remainder of the args to method_name. Example: "ad_dispatch method1 foo bar baz" calls the method1 associated with the type foo, with foo bar and baz as the 3 arguments.

Parameters:
method_name (required)
method name
type (required)
associated type
See Also:
  • expansion operator "{*}"
  • xotcl-core package offers a real ORM interface for acs_object types
  • NSF idioms
  • OO Tcl idioms

Partial Call Graph (max 5 caller/called nodes):
%3 ad_apply ad_apply (public, deprecated) ad_log_deprecated ad_log_deprecated (public) ad_dispatch ad_dispatch ad_dispatch->ad_apply ad_dispatch->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ad_dispatch
    return [ad_apply ${method_name}__$type $args]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: