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.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.Configuration.Install.Installerstatic JCType
classType
The 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classComponent
- 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 classComponent
- 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 classComponent
- 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 classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Installer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoInstaller
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Installer
instance- 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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
IOException
SerializationException
OverflowException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
IOException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
IOException
SerializationException
OverflowException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
IOException
SerializationException
OverflowException
-
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.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
-
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
-
-