Package system.servicemodel
Class ServiceConfiguration
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.ServiceConfiguration
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ServiceConfiguration extends NetObject
The base .NET class managing System.ServiceModel.ServiceConfiguration, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.ServiceConfiguration
-
-
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.ServiceConfigurationstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ServiceConfiguration()
ServiceConfiguration(Object instance)
Internal constructor.
-
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.ServiceConfiguration- See Also:
- Constant Field Values
-
-
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 ServiceConfiguration cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoServiceConfiguration
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ServiceConfiguration
instance- Throws:
Throwable
- in case of error during cast operation
-
AddServiceEndpoint
public ServiceEndpoint AddServiceEndpoint(NetType contractType, Binding binding, String address) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException, KeyNotFoundException, NotSupportedException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
SecurityException
MemberAccessException
NullReferenceException
UriFormatException
KeyNotFoundException
NotSupportedException
-
AddServiceEndpoint
public ServiceEndpoint AddServiceEndpoint(NetType contractType, Binding binding, String address, Uri listenUri) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException, KeyNotFoundException, NotSupportedException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
SecurityException
MemberAccessException
NullReferenceException
UriFormatException
KeyNotFoundException
NotSupportedException
-
AddServiceEndpoint
public ServiceEndpoint AddServiceEndpoint(NetType contractType, Binding binding, Uri address) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, KeyNotFoundException, CultureNotFoundException, UriFormatException, NotSupportedException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
KeyNotFoundException
CultureNotFoundException
UriFormatException
NotSupportedException
-
AddServiceEndpoint
public ServiceEndpoint AddServiceEndpoint(NetType contractType, Binding binding, Uri address, Uri listenUri) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, KeyNotFoundException, CultureNotFoundException, NotSupportedException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
KeyNotFoundException
CultureNotFoundException
NotSupportedException
-
AddServiceEndpoint
public void AddServiceEndpoint(ServiceEndpoint endpoint) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
NotSupportedException
-
LoadFromConfiguration
public void LoadFromConfiguration() throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, NotSupportedException, KeyNotFoundException, SocketException, FormatException, CryptographicException, InvalidEnumArgumentException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
NotSupportedException
KeyNotFoundException
SocketException
FormatException
CryptographicException
InvalidEnumArgumentException
-
LoadFromConfiguration
public void LoadFromConfiguration(Configuration configuration) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, NotImplementedException, SecurityException, AmbiguousMatchException, KeyNotFoundException, CultureNotFoundException, SocketException, UriFormatException, CryptographicException, IOException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, RankException, AccessViolationException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
NotSupportedException
NotImplementedException
SecurityException
AmbiguousMatchException
KeyNotFoundException
CultureNotFoundException
SocketException
UriFormatException
CryptographicException
IOException
InvalidEnumArgumentException
MissingMethodException
TargetInvocationException
RankException
AccessViolationException
-
SetEndpointAddress
public void SetEndpointAddress(ServiceEndpoint endpoint, String relativeAddress) throws Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException, KeyNotFoundException
- Throws:
Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
SecurityException
MemberAccessException
NullReferenceException
UriFormatException
KeyNotFoundException
-
getUseIdentityConfiguration
public boolean getUseIdentityConfiguration() throws Throwable, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ConfigurationException, ArgumentOutOfRangeException, ArgumentException
-
setUseIdentityConfiguration
public void setUseIdentityConfiguration(boolean UseIdentityConfiguration) throws Throwable, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ConfigurationException, ArgumentOutOfRangeException, ArgumentException
-
getIdentityConfiguration
public IdentityConfiguration getIdentityConfiguration() throws Throwable, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ConfigurationException, ArgumentOutOfRangeException, ArgumentException
-
setIdentityConfiguration
public void setIdentityConfiguration(IdentityConfiguration IdentityConfiguration) throws Throwable, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ConfigurationException, ArgumentOutOfRangeException, ArgumentException
-
getAuthentication
public ServiceAuthenticationBehavior getAuthentication() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
-
getAuthorization
public ServiceAuthorizationBehavior getAuthorization() throws Throwable, NotSupportedException
- Throws:
Throwable
NotSupportedException
-
getCredentials
public ServiceCredentials getCredentials() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, ConfigurationException, IndexOutOfRangeException
-
getDescription
public ServiceDescription getDescription() throws Throwable
- Throws:
Throwable
-
setCloseTimeout
public void setCloseTimeout(TimeSpan CloseTimeout) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, MulticastNotSupportedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, IndexOutOfRangeException, KeyNotFoundException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
MulticastNotSupportedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
IndexOutOfRangeException
KeyNotFoundException
-
setOpenTimeout
public void setOpenTimeout(TimeSpan OpenTimeout) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, MulticastNotSupportedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, IndexOutOfRangeException, KeyNotFoundException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
MulticastNotSupportedException
ConfigurationErrorsException
OverflowException
SecurityException
OutOfMemoryException
IndexOutOfRangeException
KeyNotFoundException
-
-