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.String
assemblyFullName
Fully assembly qualified name: System.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.Workflow.Runtimestatic java.lang.String
className
Qualified class name: System.Workflow.Runtime.WorkflowRuntimestatic JCType
classType
The 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 void
AddService(NetObject service)
static WorkflowRuntime
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoWorkflowRuntime
, a cast assert is made to check if types are compatible.void
close()
WorkflowInstance
CreateWorkflow(NetType workflowType)
WorkflowInstance
CreateWorkflow(XmlReader workflowDefinitionReader)
void
Dispose()
boolean
getIsStarted()
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
getName()
NetObject
GetService(NetType serviceType)
WorkflowInstance
GetWorkflow(Guid instanceId)
void
RemoveService(NetObject service)
void
setJCOInstance(JCObject instance)
void
setName(java.lang.String Name)
void
StartRuntime()
void
StopRuntime()
-
-
-
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.Throwable
Internal 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.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
-
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.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
-
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.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
-
-
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 classNetObject
- 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 classNetObject
- 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 classNetObject
- 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 classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static WorkflowRuntime cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoWorkflowRuntime
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WorkflowRuntime
instance- 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.Throwable
ArgumentNullException
ObjectDisposedException
ArgumentException
KeyNotFoundException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
OutOfMemoryException
MissingManifestResourceException
-
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.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
-
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.Throwable
ArgumentNullException
ObjectDisposedException
ArgumentException
ConfigurationException
ConfigurationErrorsException
ArgumentOutOfRangeException
IndexOutOfRangeException
KeyNotFoundException
InvalidOperationException
MulticastNotSupportedException
CryptographicException
SecurityException
PlatformNotSupportedException
NotSupportedException
Win32Exception
OverflowException
XmlException
UnauthorizedAccessException
WorkflowValidationFailedException
-
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.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
-
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.Throwable
ArgumentNullException
ObjectDisposedException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
KeyNotFoundException
MulticastNotSupportedException
FormatException
-
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.Throwable
ArgumentException
NotImplementedException
ObjectDisposedException
AbandonedMutexException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentNullException
RemotingException
FormatException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
MissingManifestResourceException
IndexOutOfRangeException
NotSupportedException
-
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.Throwable
ArgumentNullException
ObjectDisposedException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
KeyNotFoundException
FormatException
MulticastNotSupportedException
-
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.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
-
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.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
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in 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.Throwable
ArgumentException
ArgumentNullException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
ArgumentOutOfRangeException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
MissingManifestResourceException
ObjectDisposedException
-
-