Class AssemblyCatalog
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.componentmodel.composition.primitives.ComposablePartCatalog
-
- system.componentmodel.composition.hosting.AssemblyCatalog
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class AssemblyCatalog extends ComposablePartCatalog
The base .NET class managing System.ComponentModel.Composition.Hosting.AssemblyCatalog, System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.Composition.Hosting.AssemblyCatalog
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.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.ComponentModel.Compositionstatic java.lang.StringclassNameQualified class name: System.ComponentModel.Composition.Hosting.AssemblyCatalogstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description AssemblyCatalog()AssemblyCatalog(java.lang.Object instance)Internal constructor.AssemblyCatalog(java.lang.String codeBase)AssemblyCatalog(java.lang.String codeBase, ICompositionElement definitionOrigin)AssemblyCatalog(java.lang.String codeBase, ReflectionContext reflectionContext)AssemblyCatalog(java.lang.String codeBase, ReflectionContext reflectionContext, ICompositionElement definitionOrigin)AssemblyCatalog(Assembly assembly)AssemblyCatalog(Assembly assembly, ICompositionElement definitionOrigin)AssemblyCatalog(Assembly assembly, ReflectionContext reflectionContext)AssemblyCatalog(Assembly assembly, ReflectionContext reflectionContext, ICompositionElement definitionOrigin)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssemblyCatalogcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoAssemblyCatalog, a cast assert is made to check if types are compatible.AssemblygetAssembly()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 TypevoidsetJCOInstance(JCObject instance)-
Methods inherited from class system.componentmodel.composition.primitives.ComposablePartCatalog
close, Dispose
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ComponentModel.Composition- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.Composition.Hosting.AssemblyCatalog- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AssemblyCatalog
public AssemblyCatalog(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
AssemblyCatalog
public AssemblyCatalog() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyCatalog
public AssemblyCatalog(Assembly assembly) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
AssemblyCatalog
public AssemblyCatalog(Assembly assembly, ICompositionElement definitionOrigin) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
AssemblyCatalog
public AssemblyCatalog(Assembly assembly, ReflectionContext reflectionContext) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
AssemblyCatalog
public AssemblyCatalog(Assembly assembly, ReflectionContext reflectionContext, ICompositionElement definitionOrigin) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
AssemblyCatalog
public AssemblyCatalog(java.lang.String codeBase) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, PathTooLongException, IndexOutOfRangeException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionInvalidCastException
-
AssemblyCatalog
public AssemblyCatalog(java.lang.String codeBase, ICompositionElement definitionOrigin) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, PathTooLongException, IndexOutOfRangeException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionInvalidCastException
-
AssemblyCatalog
public AssemblyCatalog(java.lang.String codeBase, ReflectionContext reflectionContext) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, PathTooLongException, IndexOutOfRangeException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionInvalidCastException
-
AssemblyCatalog
public AssemblyCatalog(java.lang.String codeBase, ReflectionContext reflectionContext, ICompositionElement definitionOrigin) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, PathTooLongException, IndexOutOfRangeException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionInvalidCastException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classComposablePartCatalog- 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 classComposablePartCatalog- 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 classComposablePartCatalog- 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 classComposablePartCatalog- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classComposablePartCatalog
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classComposablePartCatalog- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static AssemblyCatalog cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoAssemblyCatalog, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
AssemblyCataloginstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getAssembly
public Assembly getAssembly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-