Package system.workflow.runtime
Class WorkflowRuntime
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.workflow.runtime.WorkflowRuntime
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class WorkflowRuntime extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Workflow.Runtime.WorkflowRuntime, System.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Workflow.Runtime.WorkflowRuntime
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.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: System.Workflow.Runtimestatic java.lang.StringclassNameQualified class name: System.Workflow.Runtime.WorkflowRuntimestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WorkflowRuntime()WorkflowRuntime(java.lang.Object instance)Internal constructor.WorkflowRuntime(java.lang.String configSectionName)WorkflowRuntime(WorkflowRuntimeSection settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddService(NetObject service)static WorkflowRuntimecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoWorkflowRuntime, a cast assert is made to check if types are compatible.voidclose()WorkflowInstanceCreateWorkflow(NetType workflowType)WorkflowInstanceCreateWorkflow(XmlReader workflowDefinitionReader)voidDispose()booleangetIsStarted()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.StringgetName()NetObjectGetService(NetType serviceType)WorkflowInstanceGetWorkflow(Guid instanceId)voidRemoveService(NetObject service)voidsetJCOInstance(JCObject instance)voidsetName(java.lang.String Name)voidStartRuntime()voidStopRuntime()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Workflow.Runtime- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Workflow.Runtime.WorkflowRuntime- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WorkflowRuntime
public WorkflowRuntime(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
WorkflowRuntime
public WorkflowRuntime() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, ObjectDisposedException, KeyNotFoundException, CultureNotFoundException, MulticastNotSupportedException, OutOfMemoryException, SystemException, AbandonedMutexException, RemotingException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, WaitHandleCannotBeOpenedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionMissingManifestResourceExceptionConfigurationExceptionConfigurationErrorsExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionOverflowExceptionPlatformNotSupportedExceptionFormatExceptionIndexOutOfRangeExceptionObjectDisposedExceptionKeyNotFoundExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionSystemExceptionAbandonedMutexExceptionRemotingExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedException
-
WorkflowRuntime
public WorkflowRuntime(java.lang.String configSectionName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, KeyNotFoundException, MulticastNotSupportedException, OutOfMemoryException, SystemException, AbandonedMutexException, RemotingException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, WaitHandleCannotBeOpenedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionOverflowExceptionPlatformNotSupportedExceptionFormatExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionSystemExceptionAbandonedMutexExceptionRemotingExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedException
-
WorkflowRuntime
public WorkflowRuntime(WorkflowRuntimeSection settings) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, ObjectDisposedException, KeyNotFoundException, CultureNotFoundException, MulticastNotSupportedException, OutOfMemoryException, SystemException, AbandonedMutexException, RemotingException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, WaitHandleCannotBeOpenedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionMissingManifestResourceExceptionConfigurationExceptionConfigurationErrorsExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionOverflowExceptionPlatformNotSupportedExceptionFormatExceptionIndexOutOfRangeExceptionObjectDisposedExceptionKeyNotFoundExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionSystemExceptionAbandonedMutexExceptionRemotingExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static WorkflowRuntime cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoWorkflowRuntime, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
WorkflowRuntimeinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, KeyNotFoundException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionArgumentExceptionKeyNotFoundExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceException
-
CreateWorkflow
public WorkflowInstance CreateWorkflow(NetType workflowType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, ConfigurationException, ConfigurationErrorsException, KeyNotFoundException, MulticastNotSupportedException, TrackingProfileDeserializationException, CryptographicException, ApplicationException, SecurityException, PlatformNotSupportedException, Win32Exception, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, OverflowException, XmlException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMulticastNotSupportedExceptionTrackingProfileDeserializationExceptionCryptographicExceptionApplicationExceptionSecurityExceptionPlatformNotSupportedExceptionWin32ExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionOverflowExceptionXmlException
-
CreateWorkflow
public WorkflowInstance CreateWorkflow(XmlReader workflowDefinitionReader) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, ConfigurationException, ConfigurationErrorsException, ArgumentOutOfRangeException, IndexOutOfRangeException, KeyNotFoundException, InvalidOperationException, MulticastNotSupportedException, CryptographicException, SecurityException, PlatformNotSupportedException, NotSupportedException, Win32Exception, OverflowException, XmlException, UnauthorizedAccessException, WorkflowValidationFailedException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionArgumentExceptionConfigurationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionInvalidOperationExceptionMulticastNotSupportedExceptionCryptographicExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionOverflowExceptionXmlExceptionUnauthorizedAccessExceptionWorkflowValidationFailedException
-
GetWorkflow
public WorkflowInstance GetWorkflow(Guid instanceId) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, OverflowException, KeyNotFoundException, WorkflowValidationFailedException, IndexOutOfRangeException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, ConfigurationException, ConfigurationErrorsException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowExceptionKeyNotFoundExceptionWorkflowValidationFailedExceptionIndexOutOfRangeExceptionXmlExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionCryptographicExceptionConfigurationExceptionConfigurationErrorsExceptionFormatException
-
AddService
public void AddService(NetObject service) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, KeyNotFoundException, MulticastNotSupportedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionKeyNotFoundExceptionMulticastNotSupportedExceptionFormatException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, RemotingException, FormatException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, MissingManifestResourceException, IndexOutOfRangeException, NotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionNotImplementedExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionRemotingExceptionFormatExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionNotSupportedException
-
RemoveService
public void RemoveService(NetObject service) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, KeyNotFoundException, FormatException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionKeyNotFoundExceptionFormatExceptionMulticastNotSupportedException
-
StartRuntime
public void StartRuntime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, MissingManifestResourceException, IndexOutOfRangeException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, PathTooLongException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, Win32Exception, ObjectDisposedException, KeyNotFoundException, MulticastNotSupportedException, WorkflowValidationFailedException, XmlSchemaException, XmlException, TrackingProfileDeserializationException, CryptographicException, SecurityException, IOException, ApplicationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionNotImplementedExceptionPathTooLongExceptionInvalidCastExceptionNullReferenceExceptionFormatExceptionOverflowExceptionPlatformNotSupportedExceptionWin32ExceptionObjectDisposedExceptionKeyNotFoundExceptionMulticastNotSupportedExceptionWorkflowValidationFailedExceptionXmlSchemaExceptionXmlExceptionTrackingProfileDeserializationExceptionCryptographicExceptionSecurityExceptionIOExceptionApplicationException
-
StopRuntime
public void StopRuntime() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, PathTooLongException, InvalidCastException, NullReferenceException, FormatException, OverflowException, PlatformNotSupportedException, Win32Exception, IndexOutOfRangeException, KeyNotFoundException, TransactionAbortedException, PersistenceException, WorkflowValidationFailedException, XmlSchemaException, XmlException, TrackingProfileDeserializationException, CryptographicException, SecurityException, IOException, ApplicationException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionConfigurationExceptionConfigurationErrorsExceptionPathTooLongExceptionInvalidCastExceptionNullReferenceExceptionFormatExceptionOverflowExceptionPlatformNotSupportedExceptionWin32ExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionTransactionAbortedExceptionPersistenceExceptionWorkflowValidationFailedExceptionXmlSchemaExceptionXmlExceptionTrackingProfileDeserializationExceptionCryptographicExceptionSecurityExceptionIOExceptionApplicationException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getIsStarted
public boolean getIsStarted() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedException
-
-