Package system.serviceprocess
Class ServiceProcessInstaller
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.configuration.install.Installer
-
- system.configuration.install.ComponentInstaller
-
- system.serviceprocess.ServiceProcessInstaller
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class ServiceProcessInstaller extends ComponentInstaller
The base .NET class managing System.ServiceProcess.ServiceProcessInstaller, System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceProcess.ServiceProcessInstaller
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.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.ServiceProcessstatic java.lang.StringclassNameQualified class name: System.ServiceProcess.ServiceProcessInstallerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ServiceProcessInstaller()ServiceProcessInstaller(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceProcessInstallercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoServiceProcessInstaller, a cast assert is made to check if types are compatible.voidCopyFromComponent(IComponent comp)ServiceAccountgetAccount()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 Typejava.lang.StringgetPassword()java.lang.StringgetUsername()voidInstall(IDictionary stateSaver)voidRollback(IDictionary savedState)voidsetAccount(ServiceAccount Account)voidsetJCOInstance(JCObject instance)voidsetPassword(java.lang.String Password)voidsetUsername(java.lang.String Username)-
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, Uninstall
-
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.ServiceProcess, 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.ServiceProcess- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceProcess.ServiceProcessInstaller- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceProcessInstaller
public ServiceProcessInstaller(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ServiceProcessInstaller
public ServiceProcessInstaller() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classComponentInstaller- 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 classComponentInstaller- 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 classComponentInstaller- 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 classComponentInstaller- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classComponentInstaller
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classComponentInstaller- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ServiceProcessInstaller cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoServiceProcessInstaller, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ServiceProcessInstallerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CopyFromComponent
public void CopyFromComponent(IComponent comp) throws java.lang.Throwable
- Overrides:
CopyFromComponentin classComponentInstaller- Throws:
java.lang.Throwable
-
Install
public void Install(IDictionary stateSaver) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, Win32Exception, IOException, NotSupportedException, NullReferenceException, InvalidEnumArgumentException, SecurityException, MulticastNotSupportedException, RankException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Overrides:
Installin classInstaller- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionNotSupportedExceptionNullReferenceExceptionInvalidEnumArgumentExceptionSecurityExceptionMulticastNotSupportedExceptionRankExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
Rollback
public void Rollback(IDictionary savedState) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, Win32Exception, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SerializationException, FormatException, OverflowException
- Overrides:
Rollbackin classInstaller- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionWin32ExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSerializationExceptionFormatExceptionOverflowException
-
getAccount
public ServiceAccount getAccount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, Win32Exception, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, IOException, NotSupportedException, NullReferenceException, InvalidEnumArgumentException, SecurityException, MulticastNotSupportedException, RankException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionWin32ExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIOExceptionNotSupportedExceptionNullReferenceExceptionInvalidEnumArgumentExceptionSecurityExceptionMulticastNotSupportedExceptionRankExceptionOutOfMemoryException
-
setAccount
public void setAccount(ServiceAccount Account) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPassword
public java.lang.String getPassword() throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, Win32Exception, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, IOException, NotSupportedException, NullReferenceException, InvalidEnumArgumentException, SecurityException, MulticastNotSupportedException, RankException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionWin32ExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIOExceptionNotSupportedExceptionNullReferenceExceptionInvalidEnumArgumentExceptionSecurityExceptionMulticastNotSupportedExceptionRankExceptionOutOfMemoryException
-
setPassword
public void setPassword(java.lang.String Password) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUsername
public java.lang.String getUsername() throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, Win32Exception, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, IOException, NotSupportedException, NullReferenceException, InvalidEnumArgumentException, SecurityException, MulticastNotSupportedException, RankException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionWin32ExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIOExceptionNotSupportedExceptionNullReferenceExceptionInvalidEnumArgumentExceptionSecurityExceptionMulticastNotSupportedExceptionRankExceptionOutOfMemoryException
-
setUsername
public void setUsername(java.lang.String Username) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-