Package system.configuration.install
Class AssemblyInstaller
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.configuration.install.Installer
-
- system.configuration.install.AssemblyInstaller
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class AssemblyInstaller extends Installer
The base .NET class managing System.Configuration.Install.AssemblyInstaller, 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.AssemblyInstaller
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.AssemblyInstallerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AssemblyInstaller()AssemblyInstaller(java.lang.Object instance)Internal constructor.AssemblyInstaller(java.lang.String fileName, java.lang.String[] commandLine)AssemblyInstaller(Assembly assembly, java.lang.String[] commandLine)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssemblyInstallercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoAssemblyInstaller, a cast assert is made to check if types are compatible.static voidCheckIfInstallable(java.lang.String assemblyName)voidCommit(IDictionary savedState)AssemblygetAssembly()java.lang.String[]getCommandLine()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.StringgetPath()booleangetUseNewContext()voidInstall(IDictionary savedState)voidRollback(IDictionary savedState)voidsetAssembly(Assembly Assembly)voidsetCommandLine(java.lang.String[] CommandLine)voidsetJCOInstance(JCObject instance)voidsetPath(java.lang.String Path)voidsetUseNewContext(boolean UseNewContext)voidUninstall(IDictionary savedState)-
Methods inherited from class system.configuration.install.Installer
addAfterInstall, addAfterRollback, addAfterUninstall, addBeforeInstall, addBeforeRollback, addBeforeUninstall, addCommitted, addCommitting, 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.Configuration.Install.AssemblyInstaller- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AssemblyInstaller
public AssemblyInstaller(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
AssemblyInstaller
public AssemblyInstaller() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyInstaller
public AssemblyInstaller(Assembly assembly, java.lang.String[] commandLine) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AssemblyInstaller
public AssemblyInstaller(java.lang.String fileName, java.lang.String[] commandLine) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, NotImplementedException, InvalidCastException, MissingMethodException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionNotSupportedExceptionNotImplementedExceptionInvalidCastExceptionMissingMethodExceptionFormatException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classInstaller- 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 classInstaller- 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 classInstaller- 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 classInstaller- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classInstaller
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classInstaller- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static AssemblyInstaller cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoAssemblyInstaller, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
AssemblyInstallerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CheckIfInstallable
public static void CheckIfInstallable(java.lang.String assemblyName) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, FormatException, MissingManifestResourceException, ObjectDisposedException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionIOException
-
Commit
public void Commit(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, XmlException, XmlSchemaException, OutOfMemoryException, KeyNotFoundException, SerializationException, OverflowException
- Overrides:
Commitin classInstaller- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionXmlExceptionXmlSchemaExceptionOutOfMemoryExceptionKeyNotFoundExceptionSerializationExceptionOverflowException
-
Install
public void Install(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, XmlException, IndexOutOfRangeException, OutOfMemoryException, KeyNotFoundException
- Overrides:
Installin classInstaller- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionXmlExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionKeyNotFoundException
-
Rollback
public void Rollback(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, XmlException, XmlSchemaException, OutOfMemoryException, KeyNotFoundException, SerializationException, OverflowException
- Overrides:
Rollbackin classInstaller- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionXmlExceptionXmlSchemaExceptionOutOfMemoryExceptionKeyNotFoundExceptionSerializationExceptionOverflowException
-
Uninstall
public void Uninstall(IDictionary savedState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, IOException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, XmlException, XmlSchemaException, OutOfMemoryException, KeyNotFoundException, SerializationException, OverflowException
- Overrides:
Uninstallin classInstaller- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIOExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionXmlExceptionXmlSchemaExceptionOutOfMemoryExceptionKeyNotFoundExceptionSerializationExceptionOverflowException
-
getUseNewContext
public boolean getUseNewContext() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseNewContext
public void setUseNewContext(boolean UseNewContext) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAssembly
public Assembly getAssembly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAssembly
public void setAssembly(Assembly Assembly) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPath
public java.lang.String getPath() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
setPath
public void setPath(java.lang.String Path) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
getCommandLine
public java.lang.String[] getCommandLine() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCommandLine
public void setCommandLine(java.lang.String[] CommandLine) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-