Package system.diagnostics
Class EventLogInstaller
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class EventLogInstaller extends ComponentInstaller
The base .NET class managing System.Diagnostics.EventLogInstaller, 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.EventLogInstaller
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.EventLogInstallerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description EventLogInstaller()
EventLogInstaller(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventLogInstaller
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoEventLogInstaller
, a cast assert is made to check if types are compatible.void
CopyFromComponent(IComponent component)
int
getCategoryCount()
java.lang.String
getCategoryResourceFile()
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 Typejava.lang.String
getLog()
java.lang.String
getMessageResourceFile()
java.lang.String
getParameterResourceFile()
java.lang.String
getSource()
UninstallAction
getUninstallAction()
void
Install(IDictionary stateSaver)
boolean
IsEquivalentInstaller(ComponentInstaller otherInstaller)
void
Rollback(IDictionary savedState)
void
setCategoryCount(int CategoryCount)
void
setCategoryResourceFile(java.lang.String CategoryResourceFile)
void
setJCOInstance(JCObject instance)
void
setLog(java.lang.String Log)
void
setMessageResourceFile(java.lang.String MessageResourceFile)
void
setParameterResourceFile(java.lang.String ParameterResourceFile)
void
setSource(java.lang.String Source)
void
setUninstallAction(UninstallAction UninstallAction)
void
Uninstall(IDictionary savedState)
-
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.EventLogInstaller- See Also:
- Constant Field Values
-
-
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 EventLogInstaller cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoEventLogInstaller
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
EventLogInstaller
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
IsEquivalentInstaller
public boolean IsEquivalentInstaller(ComponentInstaller otherInstaller) throws java.lang.Throwable
- Overrides:
IsEquivalentInstaller
in classComponentInstaller
- Throws:
java.lang.Throwable
-
CopyFromComponent
public void CopyFromComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, PlatformNotSupportedException, SecurityException
- Overrides:
CopyFromComponent
in classComponentInstaller
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
PlatformNotSupportedException
SecurityException
-
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, PlatformNotSupportedException, SecurityException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, AbandonedMutexException, ApplicationException
- 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
PlatformNotSupportedException
SecurityException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
AbandonedMutexException
ApplicationException
-
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, PlatformNotSupportedException, SecurityException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, AbandonedMutexException, Win32Exception, ApplicationException
- 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
PlatformNotSupportedException
SecurityException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
AbandonedMutexException
Win32Exception
ApplicationException
-
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, SecurityException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, AbandonedMutexException, ApplicationException, Win32Exception
- 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
SecurityException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
AbandonedMutexException
ApplicationException
Win32Exception
-
getCategoryCount
public int getCategoryCount() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCategoryCount
public void setCategoryCount(int CategoryCount) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
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
-
getCategoryResourceFile
public java.lang.String getCategoryResourceFile() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCategoryResourceFile
public void setCategoryResourceFile(java.lang.String CategoryResourceFile) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLog
public java.lang.String getLog() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
NotSupportedException
SecurityException
UnauthorizedAccessException
IOException
OutOfMemoryException
-
setLog
public void setLog(java.lang.String Log) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMessageResourceFile
public java.lang.String getMessageResourceFile() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMessageResourceFile
public void setMessageResourceFile(java.lang.String MessageResourceFile) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParameterResourceFile
public java.lang.String getParameterResourceFile() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setParameterResourceFile
public void setParameterResourceFile(java.lang.String ParameterResourceFile) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSource
public java.lang.String getSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSource
public void setSource(java.lang.String Source) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-