JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Public Member Functions | Properties | List of all members
Codemesh.JuggerNET.JvmLoaderFactory Class Reference

A factory class for JvmLoader instances to be used from COM. More...

Public Member Functions

void SetConfigFile (string configFile, string vers, string conf, string reserved)
 Specifies the location of an XML or old-style JunC++ion file that will be used by the native runtime library to read configuration information. This call is not necessary if you are following the .NET naming conventions for configuration files because the .NET runtime will find and parse the contents automatically. If the last three arguments are null, an XML file will be expected, otherwise an old-style JunC++ion configuration file will be expected. More...
 
IJvmLoader GetJvmLoader ()
 Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM. More...
 
IJvmLoader GetDefaultJvmLoader ()
 Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM. More...
 
IJvmLoader GetJvmLoader (TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that traces at the specified level and accepts environment variable overrides as well as a default JVM. More...
 
IJvmLoader GetJvmLoaderWithTracing (TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that traces at the specified level and accepts environment variable overrides as well as a default JVM. More...
 
IJvmLoader GetJvmLoader (bool bEnvOverrides, bool bDefaultJvm)
 Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM. More...
 
IJvmLoader GetJvmLoaderWithBooleans (bool bEnvOverrides, bool bDefaultJvm)
 Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM. More...
 
IJvmLoader GetJvmLoader (bool bEnvOverrides, bool bDefaultJvm, TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. More...
 
IJvmLoader GetJvmLoaderFullySpecified (bool bEnvOverrides, bool bDefaultJvm, TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. More...
 
IJvmLoader GetJvmLoader (string configFile, bool bEnvOverrides, bool bDefaultJvm, TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a less common factory method in .NET than in C++ because .NET can locate configuration files automatically and the automatic mechanism should be used if possible. More...
 
IJvmLoader GetJvmLoaderWithFile (string configFile, bool bEnvOverrides, bool bDefaultJvm, TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a less common factory method in .NET than in C++ because .NET can locate configuration files automatically and the automatic mechanism should be used if possible. More...
 
IJvmLoader GetJvmLoader (string configFile, string vers, string conf, string reserved, bool bEnvOverrides, bool bDefaultJvm, TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a very uncommon factory method in .NET as it provides access to the old-style JunC++ion configuration method. Other factories should be used as a preference and this factory is just provided for completeness' sake. More...
 
IJvmLoader GetJvmLoader (string vers, string conf, string reserved, bool bEnvOverrides, bool bDefaultJvm, TraceFacility fac, TraceLevel level)
 Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a very uncommon factory method in .NET as it provides access to the old-style JunC++ion configuration method which uses the Windows registry to contain configuration data. Other factories should be used as a preference and this factory is just provided for completeness' sake. More...
 

Properties

IJvm JvmIfCreated [get]
 A property giving access to an already created Jvm without creating one. This property allows you to query whether a Jvm has already been loaded via the JvmLoader API. More...
 

Detailed Description

A factory class for JvmLoader instances to be used from COM.

Member Function Documentation

◆ GetDefaultJvmLoader()

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetDefaultJvmLoader ( )
inline

Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM.

Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [1/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( )
inline

Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM.

Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [2/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( bool  bEnvOverrides,
bool  bDefaultJvm 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM.

Parameters
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [3/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( bool  bEnvOverrides,
bool  bDefaultJvm,
TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings.

Parameters
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
facthe tracing facility(ies) for which we specify the tracing level.
levelthe tracing level.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [4/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( string  configFile,
bool  bEnvOverrides,
bool  bDefaultJvm,
TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a less common factory method in .NET than in C++ because .NET can locate configuration files automatically and the automatic mechanism should be used if possible.

Parameters
configFilethe configuration file to be used.
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
facthe tracing facility(ies) for which we specify the tracing level.
levelthe tracing level.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [5/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( string  configFile,
string  vers,
string  conf,
string  reserved,
bool  bEnvOverrides,
bool  bDefaultJvm,
TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a very uncommon factory method in .NET as it provides access to the old-style JunC++ion configuration method. Other factories should be used as a preference and this factory is just provided for completeness' sake.

Parameters
configFilethe configuration file to be used.
versthe verswion number of the configuration section.
confthe configuration name.
reservedshould be NULL.
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
facthe tracing facility(ies) for which we specify the tracing level.
levelthe tracing level.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [6/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( string  vers,
string  conf,
string  reserved,
bool  bEnvOverrides,
bool  bDefaultJvm,
TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a very uncommon factory method in .NET as it provides access to the old-style JunC++ion configuration method which uses the Windows registry to contain configuration data. Other factories should be used as a preference and this factory is just provided for completeness' sake.

Parameters
versthe verswion number of the configuration section.
confthe configuration name.
reservedshould be NULL.
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
facthe tracing facility(ies) for which we specify the tracing level.
levelthe tracing level.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoader() [7/7]

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoader ( TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that traces at the specified level and accepts environment variable overrides as well as a default JVM.

Parameters
facthe facility for which we're setting the level
levelthe tracing level
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoaderFullySpecified()

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoaderFullySpecified ( bool  bEnvOverrides,
bool  bDefaultJvm,
TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings.

Parameters
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
facthe tracing facility(ies) for which we specify the tracing level.
levelthe tracing level.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoaderWithBooleans()

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoaderWithBooleans ( bool  bEnvOverrides,
bool  bDefaultJvm 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that traces errors and accepts environment variable overrides as well as a default JVM.

Parameters
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoaderWithFile()

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoaderWithFile ( string  configFile,
bool  bEnvOverrides,
bool  bDefaultJvm,
TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that uses the given settings. This is a less common factory method in .NET than in C++ because .NET can locate configuration files automatically and the automatic mechanism should be used if possible.

Parameters
configFilethe configuration file to be used.
bEnvOverridesallow environment variable overrides.
bDefaultJvmuse a default JVM if none is specified.
facthe tracing facility(ies) for which we specify the tracing level.
levelthe tracing level.
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ GetJvmLoaderWithTracing()

IJvmLoader Codemesh.JuggerNET.JvmLoaderFactory.GetJvmLoaderWithTracing ( TraceFacility  fac,
TraceLevel  level 
)
inline

Returns an already created JVM Loader instance or a newly created JVM loader that traces at the specified level and accepts environment variable overrides as well as a default JVM.

Parameters
facthe facility for which we're setting the level
levelthe tracing level
Returns

References Codemesh.JuggerNET.JvmLoader.GetJvmLoader().

◆ SetConfigFile()

void Codemesh.JuggerNET.JvmLoaderFactory.SetConfigFile ( string  configFile,
string  vers,
string  conf,
string  reserved 
)
inline

Specifies the location of an XML or old-style JunC++ion file that will be used by the native runtime library to read configuration information. This call is not necessary if you are following the .NET naming conventions for configuration files because the .NET runtime will find and parse the contents automatically. If the last three arguments are null, an XML file will be expected, otherwise an old-style JunC++ion configuration file will be expected.

Parameters
configFile
vers
conf
reserved

References Codemesh.JuggerNET.JvmLoader.SetConfigFile().

Property Documentation

◆ JvmIfCreated

IJvm Codemesh.JuggerNET.JvmLoaderFactory.JvmIfCreated
get

A property giving access to an already created Jvm without creating one. This property allows you to query whether a Jvm has already been loaded via the JvmLoader API.


The documentation for this class was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.