Package system.servicemodel.activities
Class WorkflowServiceHost
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.channels.CommunicationObject
-
- system.servicemodel.ServiceHostBase
-
- system.servicemodel.activities.WorkflowServiceHost
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDisposable
public class WorkflowServiceHost extends ServiceHostBase
The base .NET class managing System.ServiceModel.Activities.WorkflowServiceHost, System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Activities.WorkflowServiceHost
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.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.ServiceModel.Activitiesstatic java.lang.String
className
Qualified class name: System.ServiceModel.Activities.WorkflowServiceHoststatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WorkflowServiceHost()
WorkflowServiceHost(java.lang.Object instance)
Internal constructor.WorkflowServiceHost(NetObject serviceImplementation, Uri... baseAddresses)
WorkflowServiceHost(Activity activity, Uri... baseAddresses)
WorkflowServiceHost(WorkflowService serviceDefinition, Uri... baseAddresses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AddServiceEndpoint(ServiceEndpoint endpoint)
ServiceEndpoint
AddServiceEndpoint(XName serviceContractName, Binding binding, java.lang.String address, Uri listenUri, java.lang.String behaviorConfigurationName)
ServiceEndpoint
AddServiceEndpoint(XName serviceContractName, Binding binding, Uri address, Uri listenUri, java.lang.String behaviorConfigurationName)
ServiceEndpoint
AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, java.lang.String address)
ServiceEndpoint
AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, java.lang.String address, Uri listenUri)
ServiceEndpoint
AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, Uri address)
ServiceEndpoint
AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, Uri address, Uri listenUri)
static WorkflowServiceHost
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoWorkflowServiceHost
, a cast assert is made to check if types are compatible.Activity
getActivity()
DurableInstancingOptions
getDurableInstancingOptions()
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 TypeWorkflowInstanceExtensionManager
getWorkflowExtensions()
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.servicemodel.ServiceHostBase
AddServiceEndpoint, AddServiceEndpoint, AddServiceEndpoint, AddServiceEndpoint, close, getAuthentication, getAuthorization, getChannelDispatchers, getCloseTimeout, getCredentials, getDescription, getManualFlowControlLimit, getOpenTimeout, IncrementManualFlowControlLimit, setCloseTimeout, SetEndpointAddress, setManualFlowControlLimit, setOpenTimeout
-
Methods inherited from class system.servicemodel.channels.CommunicationObject
Abort, addClosed, addClosing, addFaulted, addOpened, addOpening, BeginClose, BeginClose, BeginOpen, BeginOpen, Close, Close, EndClose, EndOpen, getState, Open, Open, removeClosed, removeClosing, removeFaulted, removeOpened, removeOpening
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IDisposable
Dispose
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel.Activities, 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.ServiceModel.Activities- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.Activities.WorkflowServiceHost- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WorkflowServiceHost
public WorkflowServiceHost(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
WorkflowServiceHost
public WorkflowServiceHost() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
WorkflowServiceHost
public WorkflowServiceHost(Activity activity, Uri... baseAddresses) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, FormatException, CultureNotFoundException, OverflowException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
FormatException
CultureNotFoundException
OverflowException
-
WorkflowServiceHost
public WorkflowServiceHost(NetObject serviceImplementation, Uri... baseAddresses) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, FormatException, CultureNotFoundException, SocketException, InvalidEnumArgumentException, CryptographicException, OverflowException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
FormatException
CultureNotFoundException
SocketException
InvalidEnumArgumentException
CryptographicException
OverflowException
-
WorkflowServiceHost
public WorkflowServiceHost(WorkflowService serviceDefinition, Uri... baseAddresses) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, FormatException, CultureNotFoundException, SocketException, InvalidEnumArgumentException, CryptographicException, OverflowException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
FormatException
CultureNotFoundException
SocketException
InvalidEnumArgumentException
CryptographicException
OverflowException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDisposable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classServiceHostBase
- 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 interfaceIDisposable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classServiceHostBase
- 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 interfaceIDisposable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classServiceHostBase
- 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 interfaceIDisposable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classServiceHostBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classServiceHostBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDisposable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classServiceHostBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static WorkflowServiceHost cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoWorkflowServiceHost
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WorkflowServiceHost
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AddServiceEndpointNewWorkflowServiceHost
public ServiceEndpoint AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, java.lang.String address) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, SecurityException, UriFormatException
-
AddServiceEndpointNewWorkflowServiceHost
public ServiceEndpoint AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, java.lang.String address, Uri listenUri) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException, MemberAccessException, NullReferenceException, UriFormatException, KeyNotFoundException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
SecurityException
OutOfMemoryException
MemberAccessException
NullReferenceException
UriFormatException
KeyNotFoundException
NotSupportedException
-
AddServiceEndpointNewWorkflowServiceHost
public ServiceEndpoint AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, Uri address) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, KeyNotFoundException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
KeyNotFoundException
NotSupportedException
-
AddServiceEndpointNewWorkflowServiceHost
public ServiceEndpoint AddServiceEndpointNewWorkflowServiceHost(java.lang.String implementedContract, Binding binding, Uri address, Uri listenUri) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException, KeyNotFoundException, CultureNotFoundException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
SecurityException
OutOfMemoryException
KeyNotFoundException
CultureNotFoundException
NotSupportedException
-
AddServiceEndpoint
public ServiceEndpoint AddServiceEndpoint(XName serviceContractName, Binding binding, java.lang.String address, Uri listenUri, java.lang.String behaviorConfigurationName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, OutOfMemoryException, OverflowException, KeyNotFoundException, ConfigurationErrorsException, NotSupportedException, XmlException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
SecurityException
MemberAccessException
NullReferenceException
ConfigurationException
UriFormatException
OutOfMemoryException
OverflowException
KeyNotFoundException
ConfigurationErrorsException
NotSupportedException
XmlException
-
AddServiceEndpoint
public ServiceEndpoint AddServiceEndpoint(XName serviceContractName, Binding binding, Uri address, Uri listenUri, java.lang.String behaviorConfigurationName) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, OutOfMemoryException, KeyNotFoundException, CultureNotFoundException, OverflowException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, NotImplementedException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
MissingManifestResourceException
ObjectDisposedException
OutOfMemoryException
KeyNotFoundException
CultureNotFoundException
OverflowException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
NotImplementedException
-
AddServiceEndpoint
public void AddServiceEndpoint(ServiceEndpoint endpoint) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, OutOfMemoryException, NotSupportedException
- Overrides:
AddServiceEndpoint
in classServiceHostBase
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
MissingManifestResourceException
ObjectDisposedException
OutOfMemoryException
NotSupportedException
-
getActivity
public Activity getActivity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWorkflowExtensions
public WorkflowInstanceExtensionManager getWorkflowExtensions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDurableInstancingOptions
public DurableInstancingOptions getDurableInstancingOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-