Package system.management
Class ManagementScope
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.management.ManagementScope
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ManagementScope extends NetObject
The base .NET class managing System.Management.ManagementScope, System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Management.ManagementScope
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Managementstatic java.lang.String
className
Qualified class name: System.Management.ManagementScopestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ManagementScope()
ManagementScope(java.lang.Object instance)
Internal constructor.ManagementScope(java.lang.String path)
ManagementScope(java.lang.String path, ConnectionOptions options)
ManagementScope(ManagementPath path)
ManagementScope(ManagementPath path, ConnectionOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementScope
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoManagementScope
, a cast assert is made to check if types are compatible.ManagementScope
Clone()
void
Connect()
boolean
getIsConnected()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeConnectionOptions
getOptions()
ManagementPath
getPath()
void
setJCOInstance(JCObject instance)
void
setOptions(ConnectionOptions Options)
void
setPath(ManagementPath Path)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Management- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Management.ManagementScope- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ManagementScope
public ManagementScope(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ManagementScope
public ManagementScope() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ManagementException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException, MulticastNotSupportedException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ManagementException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
MissingManifestResourceException
NotImplementedException
MulticastNotSupportedException
OutOfMemoryException
CryptographicException
-
ManagementScope
public ManagementScope(ManagementPath path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, MissingManifestResourceException, ManagementException, CultureNotFoundException, NotSupportedException, MulticastNotSupportedException, ObjectDisposedException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
MissingManifestResourceException
ManagementException
CultureNotFoundException
NotSupportedException
MulticastNotSupportedException
ObjectDisposedException
OutOfMemoryException
CryptographicException
-
ManagementScope
public ManagementScope(ManagementPath path, ConnectionOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, ManagementException, CultureNotFoundException, NotSupportedException, MulticastNotSupportedException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
WaitHandleCannotBeOpenedException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
ManagementException
CultureNotFoundException
NotSupportedException
MulticastNotSupportedException
OutOfMemoryException
CryptographicException
-
ManagementScope
public ManagementScope(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException, ManagementException, CultureNotFoundException, MulticastNotSupportedException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
MissingManifestResourceException
NotImplementedException
ManagementException
CultureNotFoundException
MulticastNotSupportedException
OutOfMemoryException
CryptographicException
-
ManagementScope
public ManagementScope(java.lang.String path, ConnectionOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException, ManagementException, CultureNotFoundException, MulticastNotSupportedException, OutOfMemoryException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
MissingManifestResourceException
NotImplementedException
ManagementException
CultureNotFoundException
MulticastNotSupportedException
OutOfMemoryException
CryptographicException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ManagementScope cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoManagementScope
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ManagementScope
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Clone
public ManagementScope Clone() throws java.lang.Throwable, ArgumentException, ManagementException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, OutOfMemoryException, InvalidOperationException, CryptographicException
-
Connect
public void Connect() throws java.lang.Throwable, InvalidOperationException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, CryptographicException, ArgumentNullException, ManagementException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, MissingManifestResourceException, SecurityException, UnauthorizedAccessException, IOException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentException
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
ObjectDisposedException
CryptographicException
ArgumentNullException
ManagementException
MissingMethodException
TargetInvocationException
WaitHandleCannotBeOpenedException
MissingManifestResourceException
SecurityException
UnauthorizedAccessException
IOException
-
getIsConnected
public boolean getIsConnected() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOptions
public ConnectionOptions getOptions() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotSupportedException, InvalidOperationException, MulticastNotSupportedException, ObjectDisposedException, OutOfMemoryException, CryptographicException
-
setOptions
public void setOptions(ConnectionOptions Options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, NotSupportedException, InvalidOperationException, MulticastNotSupportedException, ObjectDisposedException, OutOfMemoryException, CryptographicException
-
getPath
public ManagementPath getPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, MissingManifestResourceException, ManagementException, CultureNotFoundException, NotSupportedException
-
setPath
public void setPath(ManagementPath Path) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, ManagementException, CultureNotFoundException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
WaitHandleCannotBeOpenedException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
ManagementException
CultureNotFoundException
NotSupportedException
-
-