Package system.workflow.runtime.hosting
Class SqlWorkflowPersistenceService
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.workflow.runtime.hosting.WorkflowRuntimeService
-
- system.workflow.runtime.hosting.WorkflowPersistenceService
-
- system.workflow.runtime.hosting.SqlWorkflowPersistenceService
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IPendingWork
public class SqlWorkflowPersistenceService extends WorkflowPersistenceService implements IPendingWork
The base .NET class managing System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, 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.Hosting.SqlWorkflowPersistenceService
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.Hosting.SqlWorkflowPersistenceServicestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlWorkflowPersistenceService()
SqlWorkflowPersistenceService(java.lang.Object instance)
Internal constructor.SqlWorkflowPersistenceService(java.lang.String connectionString)
SqlWorkflowPersistenceService(java.lang.String connectionString, boolean unloadOnIdle, TimeSpan instanceOwnershipDuration, TimeSpan loadingInterval)
SqlWorkflowPersistenceService(NameValueCollection parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlWorkflowPersistenceService
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlWorkflowPersistenceService
, a cast assert is made to check if types are compatible.boolean
getEnableRetries()
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 TypeTimeSpan
getLoadingInterval()
Guid
getServiceInstanceId()
void
setEnableRetries(boolean EnableRetries)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.workflow.runtime.IPendingWork
Commit, Complete, MustCommit
-
-
-
-
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.Hosting.SqlWorkflowPersistenceService- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlWorkflowPersistenceService
public SqlWorkflowPersistenceService(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlWorkflowPersistenceService
public SqlWorkflowPersistenceService() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlWorkflowPersistenceService
public SqlWorkflowPersistenceService(NameValueCollection parameters) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
-
SqlWorkflowPersistenceService
public SqlWorkflowPersistenceService(java.lang.String connectionString) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
MissingManifestResourceException
ObjectDisposedException
-
SqlWorkflowPersistenceService
public SqlWorkflowPersistenceService(java.lang.String connectionString, boolean unloadOnIdle, TimeSpan instanceOwnershipDuration, TimeSpan loadingInterval) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
MissingManifestResourceException
ObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIPendingWork
- Overrides:
getJCOAssemblyName
in classWorkflowPersistenceService
- 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
- Specified by:
getJCOClassName
in interfaceIPendingWork
- Overrides:
getJCOClassName
in classWorkflowPersistenceService
- 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
- Specified by:
getJCOObjectName
in interfaceIPendingWork
- Overrides:
getJCOObjectName
in classWorkflowPersistenceService
- 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
- Specified by:
getJCOInstance
in interfaceIPendingWork
- Overrides:
getJCOInstance
in classWorkflowPersistenceService
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classWorkflowPersistenceService
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIPendingWork
- Overrides:
getJCOType
in classWorkflowPersistenceService
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlWorkflowPersistenceService cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlWorkflowPersistenceService
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlWorkflowPersistenceService
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getEnableRetries
public boolean getEnableRetries() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnableRetries
public void setEnableRetries(boolean EnableRetries) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getServiceInstanceId
public Guid getServiceInstanceId() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLoadingInterval
public TimeSpan getLoadingInterval() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-