Package system.diagnostics
Class PerformanceCounterInstaller
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.configuration.install.Installer
-
- system.configuration.install.ComponentInstaller
-
- system.diagnostics.PerformanceCounterInstaller
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class PerformanceCounterInstaller extends ComponentInstaller
The base .NET class managing System.Diagnostics.PerformanceCounterInstaller, System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.PerformanceCounterInstaller
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.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Configuration.Installstatic java.lang.String
className
Qualified class name: System.Diagnostics.PerformanceCounterInstallerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PerformanceCounterInstaller()
PerformanceCounterInstaller(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerformanceCounterInstaller
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoPerformanceCounterInstaller
, a cast assert is made to check if types are compatible.void
CopyFromComponent(IComponent component)
java.lang.String
getCategoryHelp()
java.lang.String
getCategoryName()
PerformanceCounterCategoryType
getCategoryType()
CounterCreationDataCollection
getCounters()
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 TypeUninstallAction
getUninstallAction()
void
Install(IDictionary stateSaver)
void
Rollback(IDictionary savedState)
void
setCategoryHelp(java.lang.String CategoryHelp)
void
setCategoryName(java.lang.String CategoryName)
void
setCategoryType(PerformanceCounterCategoryType CategoryType)
void
setJCOInstance(JCObject instance)
void
setUninstallAction(UninstallAction UninstallAction)
void
Uninstall(IDictionary savedState)
-
Methods inherited from class system.configuration.install.ComponentInstaller
IsEquivalentInstaller
-
Methods inherited from class system.configuration.install.Installer
addAfterInstall, addAfterRollback, addAfterUninstall, addBeforeInstall, addBeforeRollback, addBeforeUninstall, addCommitted, addCommitting, Commit, getContext, getHelpText, getInstallers, getParent, removeAfterInstall, removeAfterRollback, removeAfterUninstall, removeBeforeInstall, removeBeforeRollback, removeBeforeUninstall, removeCommitted, removeCommitting, setContext, setParent
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Configuration.Install, 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.Configuration.Install- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.PerformanceCounterInstaller- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PerformanceCounterInstaller
public PerformanceCounterInstaller(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PerformanceCounterInstaller
public PerformanceCounterInstaller() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
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 classComponentInstaller
- 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 classComponentInstaller
- 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 classComponentInstaller
- 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 classComponentInstaller
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponentInstaller
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponentInstaller
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PerformanceCounterInstaller cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPerformanceCounterInstaller
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PerformanceCounterInstaller
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CopyFromComponent
public void CopyFromComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, SecurityException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, Win32Exception, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, ApplicationException, AccessViolationException, InvalidEnumArgumentException
- Overrides:
CopyFromComponent
in classComponentInstaller
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
FormatException
PlatformNotSupportedException
SecurityException
IndexOutOfRangeException
UnauthorizedAccessException
IOException
Win32Exception
ConfigurationException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
ApplicationException
AccessViolationException
InvalidEnumArgumentException
-
Install
public void Install(IDictionary stateSaver) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, ConfigurationException, ApplicationException, InvalidEnumArgumentException, RankException, CryptographicException
- Overrides:
Install
in classInstaller
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
PlatformNotSupportedException
Win32Exception
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
ConfigurationException
ApplicationException
InvalidEnumArgumentException
RankException
CryptographicException
-
Rollback
public void Rollback(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SerializationException, FormatException, OverflowException, SecurityException
- Overrides:
Rollback
in classInstaller
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SerializationException
FormatException
OverflowException
SecurityException
-
Uninstall
public void Uninstall(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SerializationException, FormatException, OverflowException, PlatformNotSupportedException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SecurityException, ConfigurationException, ApplicationException, InvalidEnumArgumentException, Win32Exception, RankException, CryptographicException
- Overrides:
Uninstall
in classInstaller
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SerializationException
FormatException
OverflowException
PlatformNotSupportedException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
AbandonedMutexException
SecurityException
ConfigurationException
ApplicationException
InvalidEnumArgumentException
Win32Exception
RankException
CryptographicException
-
getUninstallAction
public UninstallAction getUninstallAction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUninstallAction
public void setUninstallAction(UninstallAction UninstallAction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
InvalidEnumArgumentException
-
getCounters
public CounterCreationDataCollection getCounters() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCategoryType
public PerformanceCounterCategoryType getCategoryType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCategoryType
public void setCategoryType(PerformanceCounterCategoryType CategoryType) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
getCategoryHelp
public java.lang.String getCategoryHelp() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCategoryHelp
public void setCategoryHelp(java.lang.String CategoryHelp) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
getCategoryName
public java.lang.String getCategoryName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCategoryName
public void setCategoryName(java.lang.String CategoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
-