Package system.servicemodel
Class OperationContext
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.OperationContext
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class OperationContext extends NetObject
The base .NET class managing System.ServiceModel.OperationContext, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.OperationContext
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.ServiceModelstatic String
className
Qualified class name: System.ServiceModel.OperationContextstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OperationContext()
OperationContext(Object instance)
Internal constructor.OperationContext(IContextChannel channel)
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.ServiceModel.OperationContext- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OperationContext
public OperationContext(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
OperationContext
public OperationContext(IContextChannel channel) throws Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 OperationContext cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoOperationContext
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OperationContext
instance- Throws:
Throwable
- in case of error during cast operation
-
SetTransactionComplete
public void SetTransactionComplete() throws Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException, ConfigurationErrorsException, TransactionException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
OutOfMemoryException
ConfigurationErrorsException
TransactionException
-
getHasSupportingTokens
public boolean getHasSupportingTokens() throws Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
-
getClaimsPrincipal
public ClaimsPrincipal getClaimsPrincipal() throws Throwable
- Throws:
Throwable
-
setClaimsPrincipal
public void setClaimsPrincipal(ClaimsPrincipal ClaimsPrincipal) throws Throwable
- Throws:
Throwable
-
getIncomingMessageHeaders
public MessageHeaders getIncomingMessageHeaders() throws Throwable
- Throws:
Throwable
-
getOutgoingMessageHeaders
public MessageHeaders getOutgoingMessageHeaders() throws Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
-
getIncomingMessageProperties
public MessageProperties getIncomingMessageProperties() throws Throwable
- Throws:
Throwable
-
getOutgoingMessageProperties
public MessageProperties getOutgoingMessageProperties() throws Throwable
- Throws:
Throwable
-
getIncomingMessageVersion
public MessageVersion getIncomingMessageVersion() throws Throwable
- Throws:
Throwable
-
getRequestContext
public RequestContext getRequestContext() throws Throwable
- Throws:
Throwable
-
setRequestContext
public void setRequestContext(RequestContext RequestContext) throws Throwable
- Throws:
Throwable
-
getEndpointDispatcher
public EndpointDispatcher getEndpointDispatcher() throws Throwable
- Throws:
Throwable
-
setEndpointDispatcher
public void setEndpointDispatcher(EndpointDispatcher EndpointDispatcher) throws Throwable
- Throws:
Throwable
-
getChannel
public IContextChannel getChannel() throws Throwable
- Throws:
Throwable
-
getInstanceContext
public InstanceContext getInstanceContext() throws Throwable
- Throws:
Throwable
-
getCurrent
public static OperationContext getCurrent() throws Throwable, ArgumentException, ConfigurationErrorsException, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NotSupportedException
-
setCurrent
public static void setCurrent(OperationContext Current) throws Throwable, ArgumentException, ConfigurationErrorsException, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, NotSupportedException, InvalidOperationException, SecurityException, NullReferenceException
-
getHost
public ServiceHostBase getHost() throws Throwable
- Throws:
Throwable
-
getServiceSecurityContext
public ServiceSecurityContext getServiceSecurityContext() throws Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
-
addOperationCompleted
public void addOperationCompleted(EventHandler handler) throws Throwable
- Throws:
Throwable
-
removeOperationCompleted
public void removeOperationCompleted(EventHandler handler) throws Throwable
- Throws:
Throwable
-
-