public class RemotingConfiguration extends NetObject
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Runtime.Remoting.RemotingConfiguration
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RemotingConfiguration() |
RemotingConfiguration(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RemotingConfiguration |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RemotingConfiguration, 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 name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static java.lang.String |
getProcessId() |
static ActivatedClientTypeEntry[] |
GetRegisteredActivatedClientTypes() |
static ActivatedServiceTypeEntry[] |
GetRegisteredActivatedServiceTypes() |
static WellKnownClientTypeEntry[] |
GetRegisteredWellKnownClientTypes() |
static WellKnownServiceTypeEntry[] |
GetRegisteredWellKnownServiceTypes() |
static boolean |
IsActivationAllowed(NetType svrType) |
static ActivatedClientTypeEntry |
IsRemotelyActivatedClientType(NetType svrType) |
static ActivatedClientTypeEntry |
IsRemotelyActivatedClientType(java.lang.String typeName,
java.lang.String assemblyName) |
static WellKnownClientTypeEntry |
IsWellKnownClientType(NetType svrType) |
static WellKnownClientTypeEntry |
IsWellKnownClientType(java.lang.String typeName,
java.lang.String assemblyName) |
static void |
RegisterActivatedClientType(ActivatedClientTypeEntry entry) |
static void |
RegisterActivatedClientType(NetType type,
java.lang.String appUrl) |
static void |
RegisterActivatedServiceType(ActivatedServiceTypeEntry entry) |
static void |
RegisterActivatedServiceType(NetType type) |
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) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RemotingConfiguration()
throws java.lang.Throwable
java.lang.Throwablepublic RemotingConfiguration(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static RemotingConfiguration cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RemotingConfiguration, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRemotingConfiguration instancejava.lang.Throwable - in case of error during cast operationpublic static void Configure(java.lang.String filename)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
FormatException,
RemotingException,
NullReferenceException,
NotSupportedException,
SecurityException,
NotImplementedException,
MissingMethodException,
TargetInvocationException,
ApplicationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionRemotingExceptionNullReferenceExceptionNotSupportedExceptionSecurityExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationExceptionApplicationExceptionpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionRemotingExceptionNullReferenceExceptionOverflowExceptionIndexOutOfRangeExceptionNotSupportedExceptionSecurityExceptionMissingMethodExceptionNotImplementedExceptionApplicationExceptionpublic static boolean CustomErrorsEnabled(boolean isLocalRequest)
throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getApplicationId()
throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getApplicationName()
throws java.lang.Throwable,
RemotingException
java.lang.ThrowableRemotingExceptionpublic static CustomErrorsModes getCustomErrorsMode() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static java.lang.String getProcessId()
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic static ActivatedClientTypeEntry[] GetRegisteredActivatedClientTypes() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static ActivatedServiceTypeEntry[] GetRegisteredActivatedServiceTypes() throws java.lang.Throwable
java.lang.Throwablepublic static WellKnownClientTypeEntry[] GetRegisteredWellKnownClientTypes() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static WellKnownServiceTypeEntry[] GetRegisteredWellKnownServiceTypes() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static boolean IsActivationAllowed(NetType svrType) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionpublic static ActivatedClientTypeEntry IsRemotelyActivatedClientType(NetType svrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException, NotImplementedException
public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(java.lang.String typeName, java.lang.String assemblyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, RemotingException
public static WellKnownClientTypeEntry IsWellKnownClientType(NetType svrType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic static WellKnownClientTypeEntry IsWellKnownClientType(java.lang.String typeName, java.lang.String assemblyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic static void RegisterActivatedClientType(ActivatedClientTypeEntry entry) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, FormatException, RemotingException, InvalidOperationException
public static void RegisterActivatedClientType(NetType type, java.lang.String appUrl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException
public static void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, FormatException, RemotingException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException
public static void RegisterActivatedServiceType(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionFormatExceptionRemotingExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void RegisterWellKnownClientType(NetType type, java.lang.String objectUrl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException
public static void RegisterWellKnownClientType(WellKnownClientTypeEntry entry) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, FormatException, RemotingException, InvalidOperationException
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
public static void RegisterWellKnownServiceType(WellKnownServiceTypeEntry entry) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, FormatException, RemotingException, InvalidOperationException
public static void setApplicationName(java.lang.String ApplicationName)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException,
RemotingException
public static void setCustomErrorsMode(CustomErrorsModes CustomErrorsMode) throws java.lang.Throwable, RemotingException
java.lang.ThrowableRemotingExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject