CREATEOBJECT: CORBA OBJECT | |
Description
The CreateObject function can call a method on a CORBA object. The object must be defined and registered for use. |
|
Returns
A handle to a CORBA interface. |
|
Function syntaxCreateObject(type, context, class, locale) |
|
See also
Chapter 38, "Integrating COM and CORBA Objects in CFML Applications" in ColdFusion MX Developer's Guide |
|
History
See the History section of the main CreateObject function page. |
|
Parameters
|
|
Usage
In the class parameter, if "context=NameService", use a dot separator for the first part of the string. Use either of the following formats:
ColdFusion Enterprise supports CORBA through the Dynamic Invocation Interface (DII). To use this function with CORBA objects, you must provide the name of the file that contains a string version of the IOR, or the object's naming context in the naming service. You must provide the object's attributes, method names and method signatures. This function supports user-defined types (structures, arrays, and sequences). |
|
Examplemyobj = CreateObject("corba", "d:\temp\tester.ior", "ior", "visibroker") // uses IOR myobj = CreateObject("corba", "Macromedia/Eng/CF", "nameservice", "visibroker") // uses nameservice myobj = CreateObject("corba", "d:\temp\tester.ior", "nameservice") // uses nameservice and default configuration |
TYPE | |
CONTEXT | |
CLASS | |
LOCALE | |