CreateObject: CORBA object
Description
The
CreateObject
and registered for use.
Returns
A handle to a CORBA interface.
Function syntax
CreateObject(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
Parameters
Parameter
type
context
class
locale
Usage
In the
parameter, if "
class
string. Use either of the following formats:
•
"
Macromedia/Eng/CF
•
"
Macromedia.current/Eng.current/CF
function can call a method on a CORBA object. The object must be defined
CreateObject
Description
Type of object to create.
• com
• corba
• java
• component
• webservice
• IOR: ColdFusion uses IOR to access CORBA server
• NameService: ColdFusion uses naming service to access server. Valid only with
the InitialContext of a VisiBroker ORB.
• If
: absolute path of file that contains string version of the
context = "ior"
Interoperable Object Reference (IOR). ColdFusion must be able to read file; it
should be local to ColdFusion server or accessible on network
• If
context = "nameservice"
service. For example:
The name of the Java config that holds the properties file. For more information,
see Configuring and Administering ColdFusion MX.
context=NameService
"
function page.
: forward slash-delimited naming context for naming
Allaire//Doc/empobject
", use a dot separator for the first part of the
"
CreateObject
531