Package system.configuration.install
Class Installer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.configuration.install.Installer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
- Direct Known Subclasses:
AssemblyInstaller,ComponentInstaller,DefaultManagementProjectInstaller,ManagementInstaller,TransactedInstaller
public class Installer extends Component
The base .NET class managing System.Configuration.Install.Installer, System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Configuration.Install.Installer
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.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Configuration.Installstatic java.lang.StringclassNameQualified class name: System.Configuration.Install.Installerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
-
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.Configuration.Install.Installer- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classComponent- 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 classComponent- 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 classComponent- 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 classComponent- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Installer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoInstaller, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Installerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Commit
public void Commit(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, SerializationException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionSerializationExceptionOverflowException
-
Install
public void Install(IDictionary stateSaver) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOException
-
Rollback
public void Rollback(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, SerializationException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionSerializationExceptionOverflowException
-
Uninstall
public void Uninstall(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, SerializationException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionSerializationExceptionOverflowException
-
getContext
public InstallContext getContext() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContext
public void setContext(InstallContext Context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParent
public Installer getParent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setParent
public void setParent(Installer Parent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getInstallers
public InstallerCollection getInstallers() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHelpText
public java.lang.String getHelpText() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeException
-
addAfterInstall
public void addAfterInstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeAfterInstall
public void removeAfterInstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addAfterRollback
public void addAfterRollback(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeAfterRollback
public void removeAfterRollback(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addAfterUninstall
public void addAfterUninstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeAfterUninstall
public void removeAfterUninstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addBeforeInstall
public void addBeforeInstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBeforeInstall
public void removeBeforeInstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addBeforeRollback
public void addBeforeRollback(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBeforeRollback
public void removeBeforeRollback(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addBeforeUninstall
public void addBeforeUninstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeBeforeUninstall
public void removeBeforeUninstall(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCommitted
public void addCommitted(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCommitted
public void removeCommitted(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCommitting
public void addCommitting(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCommitting
public void removeCommitting(InstallEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-