Package system.runtime.remoting
Class RemotingConfiguration
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.remoting.RemotingConfiguration
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class RemotingConfiguration extends NetObject
The base .NET class managing System.Runtime.Remoting.RemotingConfiguration, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Remoting.RemotingConfiguration
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.StringassemblyFullNameFully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.Runtime.Remoting.RemotingConfigurationstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RemotingConfiguration()RemotingConfiguration(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemotingConfigurationcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRemotingConfiguration, a cast assert is made to check if types are compatible.static voidConfigure(java.lang.String filename)static voidConfigure(java.lang.String filename, boolean ensureSecurity)static booleanCustomErrorsEnabled(boolean isLocalRequest)static java.lang.StringgetApplicationId()static java.lang.StringgetApplicationName()static CustomErrorsModesgetCustomErrorsMode()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic java.lang.StringgetProcessId()static ActivatedClientTypeEntry[]GetRegisteredActivatedClientTypes()static ActivatedServiceTypeEntry[]GetRegisteredActivatedServiceTypes()static WellKnownClientTypeEntry[]GetRegisteredWellKnownClientTypes()static WellKnownServiceTypeEntry[]GetRegisteredWellKnownServiceTypes()static booleanIsActivationAllowed(NetType svrType)static ActivatedClientTypeEntryIsRemotelyActivatedClientType(java.lang.String typeName, java.lang.String assemblyName)static ActivatedClientTypeEntryIsRemotelyActivatedClientType(NetType svrType)static WellKnownClientTypeEntryIsWellKnownClientType(java.lang.String typeName, java.lang.String assemblyName)static WellKnownClientTypeEntryIsWellKnownClientType(NetType svrType)static voidRegisterActivatedClientType(NetType type, java.lang.String appUrl)static voidRegisterActivatedClientType(ActivatedClientTypeEntry entry)static voidRegisterActivatedServiceType(NetType type)static voidRegisterActivatedServiceType(ActivatedServiceTypeEntry entry)static voidRegisterWellKnownClientType(NetType type, java.lang.String objectUrl)static voidRegisterWellKnownClientType(WellKnownClientTypeEntry entry)static voidRegisterWellKnownServiceType(NetType type, java.lang.String objectUri, WellKnownObjectMode mode)static voidRegisterWellKnownServiceType(WellKnownServiceTypeEntry entry)static voidsetApplicationName(java.lang.String ApplicationName)static voidsetCustomErrorsMode(CustomErrorsModes CustomErrorsMode)voidsetJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.Remoting.RemotingConfiguration- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static RemotingConfiguration cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRemotingConfiguration, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
RemotingConfigurationinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CustomErrorsEnabled
public static boolean CustomErrorsEnabled(boolean isLocalRequest) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
IsActivationAllowed
public static boolean IsActivationAllowed(NetType svrType) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullException
-
IsRemotelyActivatedClientType
public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(java.lang.String typeName, java.lang.String assemblyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException
-
IsRemotelyActivatedClientType
public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(NetType svrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException, NotImplementedException
-
GetRegisteredActivatedClientTypes
public static ActivatedClientTypeEntry[] GetRegisteredActivatedClientTypes() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
GetRegisteredActivatedServiceTypes
public static ActivatedServiceTypeEntry[] GetRegisteredActivatedServiceTypes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsWellKnownClientType
public static WellKnownClientTypeEntry IsWellKnownClientType(java.lang.String typeName, java.lang.String assemblyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexException
-
IsWellKnownClientType
public static WellKnownClientTypeEntry IsWellKnownClientType(NetType svrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexException
-
GetRegisteredWellKnownClientTypes
public static WellKnownClientTypeEntry[] GetRegisteredWellKnownClientTypes() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
GetRegisteredWellKnownServiceTypes
public static WellKnownServiceTypeEntry[] GetRegisteredWellKnownServiceTypes() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
Configure
public static void Configure(java.lang.String filename) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, FormatException, RemotingException, NullReferenceException, NotSupportedException, SecurityException, NotImplementedException, MissingMethodException, TargetInvocationException, ApplicationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionRemotingExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationExceptionApplicationException
-
Configure
public static void Configure(java.lang.String filename, boolean ensureSecurity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, FormatException, RemotingException, NullReferenceException, OverflowException, IndexOutOfRangeException, NotSupportedException, SecurityException, MissingMethodException, NotImplementedException, ApplicationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionRemotingExceptionNullReferenceExceptionOverflowExceptionIndexOutOfRangeExceptionNotSupportedExceptionSecurityExceptionMissingMethodExceptionNotImplementedExceptionApplicationException
-
RegisterActivatedClientType
public static void RegisterActivatedClientType(ActivatedClientTypeEntry entry) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, FormatException, RemotingException, InvalidOperationException
-
RegisterActivatedClientType
public static void RegisterActivatedClientType(NetType type, java.lang.String appUrl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException
-
RegisterActivatedServiceType
public static void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, FormatException, RemotingException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException
-
RegisterActivatedServiceType
public static void RegisterActivatedServiceType(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionFormatExceptionRemotingExceptionMissingMethodExceptionTargetInvocationException
-
RegisterWellKnownClientType
public static void RegisterWellKnownClientType(WellKnownClientTypeEntry entry) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, FormatException, RemotingException, InvalidOperationException
-
RegisterWellKnownClientType
public static void RegisterWellKnownClientType(NetType type, java.lang.String objectUrl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException
-
RegisterWellKnownServiceType
public static void RegisterWellKnownServiceType(WellKnownServiceTypeEntry entry) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException, InvalidOperationException
-
RegisterWellKnownServiceType
public static void RegisterWellKnownServiceType(NetType type, java.lang.String objectUri, WellKnownObjectMode mode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ObjectDisposedException, FormatException, RemotingException, InvalidOperationException
-
getCustomErrorsMode
public static CustomErrorsModes getCustomErrorsMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCustomErrorsMode
public static void setCustomErrorsMode(CustomErrorsModes CustomErrorsMode) throws java.lang.Throwable, RemotingException
- Throws:
java.lang.ThrowableRemotingException
-
getApplicationId
public static java.lang.String getApplicationId() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getApplicationName
public static java.lang.String getApplicationName() throws java.lang.Throwable, RemotingException- Throws:
java.lang.ThrowableRemotingException
-
setApplicationName
public static void setApplicationName(java.lang.String ApplicationName) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException
-
getProcessId
public static java.lang.String getProcessId() throws java.lang.Throwable, ArgumentException- Throws:
java.lang.ThrowableArgumentException
-
-