CFML Reference
|
|
ColdFusion Functions
|
CORBA
Description
CreateObject
lets you call methods in CORBA objects. The objects must have already been defined and registered for use.
Category
Other functions
Syntax
CreateObject("CORBA", class, context, locale )
Parameters
Parameter |
Description |
class
|
Required. Specifies, depending on the CONTEXT specification:
- If CONTEXT is IOR the name of a file that contains the string version of the IOR. ColdFusion must be able to read this file; it should be local to ColdFusion server or on the network in an accessible location
- If CONTEXT is NameService a period-delimited naming context for the naming service, such as Allaire.Department.Doc.empobject
|
context
|
Required. Specifies one of the following:
- "IOR" ColdFusion uses the Interoperable Object Reference (IOR) to access the CORBA server
- "NameService" ColdFusion uses the naming service to access server. "NameService" is only valid with the InitialContext of a VisiBroker Orb
|
locale
|
Optional. Sets arguments for a call to init_orb(..). Use of this attribute is specific to VisiBroker orbs, and is currently available on C++, Version 3.2. The value should be of the form:
" -ORBagentAddr 199.99.129.33 -ORBagentPort 19000"
Each type-value pair must have a leading "-".
|
Usage
ColdFusion Enterprise supports CORBA through the Dynamic Invocation Interface (DII). To use CreateObject
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 also must provide the object's attributes, method names and method signatures.
User-defined types (for example, structures) are not supported.
Copyright © 2001, Macromedia Inc. All rights reserved. |
|