As of ColdFusion (2021 release), CORBA has been removed. You can no longer use CORBA-related features, functions, and tags.
Calls methods on a registered CORBA object.
<cfobject class = "filepath or naming service" context = "ior|nameservice" name = "instance name" type = "corba" locale = "type-value arguments">
You can specify this tag's attributes in an attributeCollection attribute whose value is a structure. Specify the structure name in the attributeCollection attribute and use the tag's attribute names as structure keys.
See the History section of the main cfobject tag page.
Attribute |
Req/Opt |
Default |
Description |
|---|---|---|---|
class |
Required |
|
|
context |
Required |
|
|
locale |
Optional |
|
Sets arguments for a call to init_orb. Use this attribute only for VisiBroker ORBs. It is available on C++, Version 3.2. The value must be in the form: {{locale = " -ORBagentAddr 199.99.129.33 -ORBagentPort 19000"}}Each type-value pair must start with a hyphen. |
name |
Required |
|
String; name for the instantiated component. An application uses it to reference the CORBA object's methods and attributes. |
type |
Required for CORBA |
|
Object type. Must be corba for CORBA objects. |
ColdFusion Enterprise version 4.0 and later supports CORBA through the Dynamic Invocation Interface (DII). To use cfobject with CORBA objects, provide the name of the file that contains a string-formatted version of the IOR, or the object's naming context in the naming service; and the object's attributes, method names, and method signatures.User-defined types (for example, structures) are not supported.
<cfobject type = "corba" context = "ior" class = "c:\\myobject.ior" name = "GetName">
Sign in to your account