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.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic java.lang.String
className
Qualified class name: System.Runtime.Remoting.RemotingConfigurationstatic JCType
classType
The 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 RemotingConfiguration
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRemotingConfiguration
, a cast assert is made to check if types are compatible.static void
Configure(java.lang.String filename)
static void
Configure(java.lang.String filename, boolean ensureSecurity)
static boolean
CustomErrorsEnabled(boolean isLocalRequest)
static java.lang.String
getApplicationId()
static java.lang.String
getApplicationName()
static CustomErrorsModes
getCustomErrorsMode()
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 Typestatic java.lang.String
getProcessId()
static ActivatedClientTypeEntry[]
GetRegisteredActivatedClientTypes()
static ActivatedServiceTypeEntry[]
GetRegisteredActivatedServiceTypes()
static WellKnownClientTypeEntry[]
GetRegisteredWellKnownClientTypes()
static WellKnownServiceTypeEntry[]
GetRegisteredWellKnownServiceTypes()
static boolean
IsActivationAllowed(NetType svrType)
static ActivatedClientTypeEntry
IsRemotelyActivatedClientType(java.lang.String typeName, java.lang.String assemblyName)
static ActivatedClientTypeEntry
IsRemotelyActivatedClientType(NetType svrType)
static WellKnownClientTypeEntry
IsWellKnownClientType(java.lang.String typeName, java.lang.String assemblyName)
static WellKnownClientTypeEntry
IsWellKnownClientType(NetType svrType)
static void
RegisterActivatedClientType(NetType type, java.lang.String appUrl)
static void
RegisterActivatedClientType(ActivatedClientTypeEntry entry)
static void
RegisterActivatedServiceType(NetType type)
static void
RegisterActivatedServiceType(ActivatedServiceTypeEntry entry)
static void
RegisterWellKnownClientType(NetType type, java.lang.String objectUrl)
static void
RegisterWellKnownClientType(WellKnownClientTypeEntry entry)
static void
RegisterWellKnownServiceType(NetType type, java.lang.String objectUri, WellKnownObjectMode mode)
static void
RegisterWellKnownServiceType(WellKnownServiceTypeEntry entry)
static void
setApplicationName(java.lang.String ApplicationName)
static void
setCustomErrorsMode(CustomErrorsModes CustomErrorsMode)
void
setJCOInstance(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: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 java.lang.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 java.lang.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 java.lang.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 RemotingConfiguration cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoRemotingConfiguration
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
RemotingConfiguration
instance- 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.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
-
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.Throwable
ArgumentNullException
-
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.Throwable
ArgumentNullException
ArgumentException
ObjectDisposedException
AbandonedMutexException
-
IsWellKnownClientType
public static WellKnownClientTypeEntry IsWellKnownClientType(NetType svrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
ObjectDisposedException
AbandonedMutexException
-
GetRegisteredWellKnownClientTypes
public static WellKnownClientTypeEntry[] GetRegisteredWellKnownClientTypes() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
GetRegisteredWellKnownServiceTypes
public static WellKnownServiceTypeEntry[] GetRegisteredWellKnownServiceTypes() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentNullException
FormatException
RemotingException
NullReferenceException
NotSupportedException
SecurityException
NotImplementedException
MissingMethodException
TargetInvocationException
ApplicationException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentNullException
FormatException
RemotingException
NullReferenceException
OverflowException
IndexOutOfRangeException
NotSupportedException
SecurityException
MissingMethodException
NotImplementedException
ApplicationException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
ObjectDisposedException
AbandonedMutexException
FormatException
RemotingException
MissingMethodException
TargetInvocationException
-
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.Throwable
RemotingException
-
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.Throwable
RemotingException
-
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.Throwable
ArgumentException
-
-