public class ServiceInstaller extends ComponentInstaller
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceProcess.ServiceInstaller
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ServiceProcess
|
static java.lang.String |
className
Qualified class name: System.ServiceProcess.ServiceInstaller
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ServiceInstaller() |
ServiceInstaller(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceInstaller |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ServiceInstaller, a cast assert is made to check if types are compatible. |
void |
CopyFromComponent(IComponent component) |
boolean |
getDelayedAutoStart() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getServiceName() |
java.lang.String[] |
getServicesDependedOn() |
ServiceStartMode |
getStartType() |
void |
Install(IDictionary stateSaver) |
boolean |
IsEquivalentInstaller(ComponentInstaller otherInstaller) |
void |
Rollback(IDictionary savedState) |
void |
setDelayedAutoStart(boolean DelayedAutoStart) |
void |
setDescription(java.lang.String Description) |
void |
setDisplayName(java.lang.String DisplayName) |
void |
setJCOInstance(JCObject instance) |
void |
setServiceName(java.lang.String ServiceName) |
void |
setServicesDependedOn(java.lang.String[] ServicesDependedOn) |
void |
setStartType(ServiceStartMode StartType) |
void |
Uninstall(IDictionary savedState) |
addAfterInstall, addAfterRollback, addAfterUninstall, addBeforeInstall, addBeforeRollback, addBeforeUninstall, addCommitted, addCommitting, Commit, getContext, getHelpText, getInstallers, getParent, removeAfterInstall, removeAfterRollback, removeAfterUninstall, removeBeforeInstall, removeBeforeRollback, removeBeforeUninstall, removeCommitted, removeCommitting, setContext, setParentaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ServiceInstaller()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
NotSupportedException,
InvalidOperationException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionpublic ServiceInstaller(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ServiceInstaller cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ServiceInstaller, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedServiceInstaller instancejava.lang.Throwable - in case of error during cast operationpublic void CopyFromComponent(IComponent component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
CopyFromComponent in class ComponentInstallerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic boolean getDelayedAutoStart()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getDescription()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getDisplayName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentInstallerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentInstallerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentInstallerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentInstallerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentInstallerJCType representing the CLR Type of the instantiated Classpublic java.lang.String getServiceName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String[] getServicesDependedOn()
throws java.lang.Throwable
java.lang.Throwablepublic ServiceStartMode getStartType() throws java.lang.Throwable
java.lang.Throwablepublic void Install(IDictionary stateSaver) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, PlatformNotSupportedException, Win32Exception, InvalidEnumArgumentException, MulticastNotSupportedException, OutOfMemoryException
Install in class Installerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionPlatformNotSupportedExceptionWin32ExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionpublic boolean IsEquivalentInstaller(ComponentInstaller otherInstaller) throws java.lang.Throwable
IsEquivalentInstaller in class ComponentInstallerjava.lang.Throwablepublic 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, Win32Exception, PlatformNotSupportedException, OutOfMemoryException, InvalidEnumArgumentException, TimeoutException, AbandonedMutexException
Rollback in class Installerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSerializationExceptionFormatExceptionOverflowExceptionWin32ExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionTimeoutExceptionAbandonedMutexExceptionpublic void setDelayedAutoStart(boolean DelayedAutoStart)
throws java.lang.Throwable
java.lang.Throwablepublic void setDescription(java.lang.String Description)
throws java.lang.Throwable
java.lang.Throwablepublic void setDisplayName(java.lang.String DisplayName)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ComponentInstallerpublic void setServiceName(java.lang.String ServiceName)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void setServicesDependedOn(java.lang.String[] ServicesDependedOn)
throws java.lang.Throwable
java.lang.Throwablepublic void setStartType(ServiceStartMode StartType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidEnumArgumentExceptionpublic 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, Win32Exception, PlatformNotSupportedException, OutOfMemoryException, InvalidEnumArgumentException, TimeoutException, AbandonedMutexException
Uninstall in class Installerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSerializationExceptionFormatExceptionOverflowExceptionWin32ExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionTimeoutExceptionAbandonedMutexException