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.StringassemblyFullNameFully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Managementstatic java.lang.StringclassNameQualified class name: System.Management.ManagementScopestatic JCTypeclassTypeThe 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 ManagementScopecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoManagementScope, a cast assert is made to check if types are compatible.ManagementScopeClone()voidConnect()booleangetIsConnected()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeConnectionOptionsgetOptions()ManagementPathgetPath()voidsetJCOInstance(JCObject instance)voidsetOptions(ConnectionOptions Options)voidsetPath(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.ThrowableInternal 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.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionManagementExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionCryptographicException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionManagementExceptionCultureNotFoundExceptionNotSupportedExceptionMulticastNotSupportedExceptionObjectDisposedExceptionOutOfMemoryExceptionCryptographicException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionManagementExceptionCultureNotFoundExceptionNotSupportedExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionCryptographicException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedExceptionManagementExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionCryptographicException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedExceptionManagementExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionCryptographicException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ManagementScope cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoManagementScope, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ManagementScopeinstance- 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.ThrowableInvalidOperationExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionCryptographicExceptionArgumentNullExceptionManagementExceptionMissingMethodExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionMissingManifestResourceExceptionSecurityExceptionUnauthorizedAccessExceptionIOException
-
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.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionManagementExceptionCultureNotFoundExceptionNotSupportedException
-
-