Table 9-1 COMMBean Element Attributes
Attribute
|
Description
|
Range of Values and Default
|
Console Label
|
Apartment-Threaded
|
Controls the flag that is used to initialize COM in native mode. By default, jCOM initializes COM using the COINIT_MULTITHREADED_FLAG. If the server logs a Class Not Registered Message when using native mode, try setting this property. (COINIT_APARTMENTTHREADED)
|
Default: false
|
Apartment Threaded
|
Memory-Logging-Enabled
|
Enables logging of memory usage
|
Default: false
|
Memory Logging Enabled
|
NTAuth-Host
|
The address of the primary domain controller to be used for authenticating clients. If this property is not set, COM clients will not be authenticated.
|
|
NTAuth Host
|
Name
|
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.
|
|
Name
|
Native-Mode-Enabled
|
Use native DLLs to allow Java objects to interact with COM Objects. Only supported on Windows.
|
Default: false
|
Native Mode Enabled
|
Notes
|
Optional information that you can include to describe this configuration.
|
|
Notes
|
Prefetch-Enums
|
Some COM methods return a COM VariantEnumeration type. The java2com tool automatically converts the returned type into a java.lang.Enumeration. This is not a perfect match since COM enumerations have no equivalent to the hasMoreElements() call. The client must continue to call nextElement until a NoSuchElementExceptionoccurs. Setting this property will cause jCOM to prefetch the next element in behind the scenes and return the correct value when hasMoreElements is called.
|
|
Prefetch Enums
|
Verbose-Logging-Enabled
|
Enables verbose logging.
|
Default: false
|
Verbose Logging Enabled
|