public class CompositionContainer extends ExportProvider implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.Composition.Hosting.CompositionContainer
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.Composition
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.Composition.Hosting.CompositionContainer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CompositionContainer() |
CompositionContainer(ComposablePartCatalog catalog,
boolean isThreadSafe,
ExportProvider... providers) |
CompositionContainer(ComposablePartCatalog catalog,
CompositionOptions compositionOptions,
ExportProvider... providers) |
CompositionContainer(ComposablePartCatalog catalog,
ExportProvider... providers) |
CompositionContainer(CompositionOptions compositionOptions,
ExportProvider... providers) |
CompositionContainer(ExportProvider... providers) |
CompositionContainer(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CompositionContainer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CompositionContainer, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Compose(CompositionBatch batch) |
void |
Dispose() |
ComposablePartCatalog |
getCatalog() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
ReleaseExport(Export export) |
void |
SatisfyImportsOnce(ComposablePart part) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CompositionContainer()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
ObjectDisposedException,
MissingManifestResourceException,
InvalidOperationException,
NotImplementedException,
MulticastNotSupportedException
public CompositionContainer(ComposablePartCatalog catalog, boolean isThreadSafe, ExportProvider... providers) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, ObjectDisposedException, LockRecursionException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, CompositionException, ChangeRejectedException, MulticastNotSupportedException, SynchronizationLockException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionObjectDisposedExceptionLockRecursionExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionCompositionExceptionChangeRejectedExceptionMulticastNotSupportedExceptionSynchronizationLockExceptionpublic CompositionContainer(ComposablePartCatalog catalog, CompositionOptions compositionOptions, ExportProvider... providers) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, ObjectDisposedException, LockRecursionException, NotImplementedException, IndexOutOfRangeException, NotSupportedException, CompositionException, ChangeRejectedException, MulticastNotSupportedException, SynchronizationLockException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionObjectDisposedExceptionLockRecursionExceptionNotImplementedExceptionIndexOutOfRangeExceptionNotSupportedExceptionCompositionExceptionChangeRejectedExceptionMulticastNotSupportedExceptionSynchronizationLockExceptionpublic CompositionContainer(ComposablePartCatalog catalog, ExportProvider... providers) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ObjectDisposedException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, CompositionException, ChangeRejectedException, MulticastNotSupportedException, ImportCardinalityMismatchException, SynchronizationLockException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionObjectDisposedExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationExceptionCompositionExceptionChangeRejectedExceptionMulticastNotSupportedExceptionImportCardinalityMismatchExceptionSynchronizationLockExceptionpublic CompositionContainer(CompositionOptions compositionOptions, ExportProvider... providers) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, ObjectDisposedException, LockRecursionException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, CompositionException, ChangeRejectedException, MulticastNotSupportedException, SynchronizationLockException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionObjectDisposedExceptionLockRecursionExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionCompositionExceptionChangeRejectedExceptionMulticastNotSupportedExceptionSynchronizationLockExceptionpublic CompositionContainer(ExportProvider... providers) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ObjectDisposedException, MissingManifestResourceException, InvalidOperationException, NotImplementedException, MulticastNotSupportedException
public CompositionContainer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static CompositionContainer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CompositionContainer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCompositionContainer instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Compose(CompositionBatch batch) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, LockRecursionException, NotImplementedException, ImportCardinalityMismatchException, CompositionException, MulticastNotSupportedException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionLockRecursionExceptionNotImplementedExceptionImportCardinalityMismatchExceptionCompositionExceptionMulticastNotSupportedExceptionSynchronizationLockExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
CompositionException,
ChangeRejectedException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
InvalidOperationException,
ObjectDisposedException,
SynchronizationLockException
public ComposablePartCatalog getCatalog() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ExportProviderString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ExportProviderString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ExportProviderObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ExportProviderString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ExportProviderJCType representing the CLR Type of the instantiated Classpublic void ReleaseExport(Export export) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void SatisfyImportsOnce(ComposablePart part) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, NotImplementedException, ImportCardinalityMismatchException, CompositionException, ChangeRejectedException, MulticastNotSupportedException, LockRecursionException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionNotImplementedExceptionImportCardinalityMismatchExceptionCompositionExceptionChangeRejectedExceptionMulticastNotSupportedExceptionLockRecursionExceptionSynchronizationLockExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ExportProvider