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.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.AssemblyInstallerstatic JCType
classType
The 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 AssemblyInstaller
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoAssemblyInstaller
, a cast assert is made to check if types are compatible.static void
CheckIfInstallable(java.lang.String assemblyName)
void
Commit(IDictionary savedState)
Assembly
getAssembly()
java.lang.String[]
getCommandLine()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getPath()
boolean
getUseNewContext()
void
Install(IDictionary savedState)
void
Rollback(IDictionary savedState)
void
setAssembly(Assembly Assembly)
void
setCommandLine(java.lang.String[] CommandLine)
void
setJCOInstance(JCObject instance)
void
setPath(java.lang.String Path)
void
setUseNewContext(boolean UseNewContext)
void
Uninstall(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.Throwable
Internal 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.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
NotImplementedException
InvalidCastException
MissingMethodException
FormatException
-
-
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 classInstaller
- 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 classInstaller
- 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 classInstaller
- 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 classInstaller
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classInstaller
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classInstaller
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static AssemblyInstaller cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoAssemblyInstaller
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
AssemblyInstaller
instance- 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, SecurityException, MissingManifestResourceException, ObjectDisposedException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
ArgumentException
IndexOutOfRangeException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
FormatException
SecurityException
MissingManifestResourceException
ObjectDisposedException
IOException
-
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:
Commit
in classInstaller
- 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
-
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:
Install
in classInstaller
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
IOException
XmlException
IndexOutOfRangeException
OutOfMemoryException
KeyNotFoundException
-
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:
Rollback
in classInstaller
- 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
-
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:
Uninstall
in classInstaller
- 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
-
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.Throwable
NotImplementedException
-
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.Throwable
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
ArgumentException
IndexOutOfRangeException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
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
-
-