public class ObjectManager extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Runtime.Serialization.ObjectManager
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: System.Runtime.Serialization.Formatters, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.Serialization.Formatters
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.ObjectManager
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ObjectManager() |
ObjectManager(ISurrogateSelector selector,
StreamingContext context)
Initializes a new instance by invoking the .NET constructor.
|
ObjectManager(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectManager |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ObjectManager, a cast assert is made to check if types are compatible. |
void |
DoFixups()
Invokes the .NET member DoFixups.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
NetObject |
GetObject(long objectID)
Invokes the .NET member GetObject.
|
void |
RaiseDeserializationEvent()
Invokes the .NET member RaiseDeserializationEvent.
|
void |
RaiseOnDeserializingEvent(NetObject obj)
Invokes the .NET member RaiseOnDeserializingEvent.
|
void |
RecordArrayElementFixup(long arrayToBeFixed,
int[] indices,
long objectRequired)
Invokes the .NET member RecordArrayElementFixup.
|
void |
RecordArrayElementFixup(long arrayToBeFixed,
int index,
long objectRequired)
Invokes the .NET member RecordArrayElementFixup.
|
void |
RecordArrayElementFixup(long dupParam0,
JCORefOut dupParam1,
long dupParam2)
Invokes the .NET member RecordArrayElementFixup.
|
void |
RecordDelayedFixup(long objectToBeFixed,
java.lang.String memberName,
long objectRequired)
Invokes the .NET member RecordDelayedFixup.
|
void |
RecordFixup(long objectToBeFixed,
MemberInfo member,
long objectRequired)
Invokes the .NET member RecordFixup.
|
void |
RegisterObject(NetObject obj,
long objectID)
Invokes the .NET member RegisterObject.
|
void |
RegisterObject(NetObject obj,
long objectID,
SerializationInfo info)
Invokes the .NET member RegisterObject.
|
void |
RegisterObject(NetObject obj,
long objectID,
SerializationInfo info,
long idOfContainingObj,
MemberInfo member)
Invokes the .NET member RegisterObject.
|
void |
RegisterObject(NetObject obj,
long objectID,
SerializationInfo info,
long idOfContainingObj,
MemberInfo member,
int[] arrayIndex)
Invokes the .NET member RegisterObject.
|
void |
RegisterObject(NetObject dupParam0,
long dupParam1,
SerializationInfo dupParam2,
long dupParam3,
MemberInfo dupParam4,
JCORefOut dupParam5)
Invokes the .NET member RegisterObject.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ObjectManager()
throws java.lang.Throwable
java.lang.Throwablepublic ObjectManager(ISurrogateSelector selector, StreamingContext context) throws java.lang.Throwable
selector - the argument of type ISurrogateSelectorcontext - the argument of type StreamingContextjava.lang.Throwable - if the .NET constructor failspublic ObjectManager(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static ObjectManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ObjectManager, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedObjectManager instancejava.lang.Throwable - in case of error during cast operationpublic void DoFixups()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
SerializationException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
NotSupportedException,
MissingMemberException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSerializationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itMissingMemberException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic NetObject GetObject(long objectID) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
objectID - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void RaiseDeserializationEvent()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RaiseOnDeserializingEvent(NetObject obj) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, MulticastNotSupportedException
obj - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic void RecordArrayElementFixup(long arrayToBeFixed,
int[] indices,
long objectRequired)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
SerializationException
arrayToBeFixed - the argument of type longindices - the argument of type int[]objectRequired - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void RecordArrayElementFixup(long arrayToBeFixed,
int index,
long objectRequired)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
SerializationException
arrayToBeFixed - the argument of type longindex - the argument of type intobjectRequired - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void RecordArrayElementFixup(long dupParam0,
JCORefOut dupParam1,
long dupParam2)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
SerializationException
dupParam0 - the argument of type longdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void RecordDelayedFixup(long objectToBeFixed,
java.lang.String memberName,
long objectRequired)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
SerializationException
objectToBeFixed - the argument of type longmemberName - the argument of type java.lang.StringobjectRequired - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void RecordFixup(long objectToBeFixed,
MemberInfo member,
long objectRequired)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
SerializationException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
objectToBeFixed - the argument of type longmember - the argument of type MemberInfoobjectRequired - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSerializationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void RegisterObject(NetObject obj, long objectID) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, SerializationException, MulticastNotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, MissingMemberException
obj - the argument of type NetObjectobjectID - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMemberException - if the .NET member raises itpublic void RegisterObject(NetObject obj, long objectID, SerializationInfo info) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, SerializationException, MulticastNotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, MissingMemberException
obj - the argument of type NetObjectobjectID - the argument of type longinfo - the argument of type SerializationInfojava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMemberException - if the .NET member raises itpublic void RegisterObject(NetObject obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, SerializationException, MulticastNotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, MissingMemberException
obj - the argument of type NetObjectobjectID - the argument of type longinfo - the argument of type SerializationInfoidOfContainingObj - the argument of type longmember - the argument of type MemberInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSerializationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itMissingMemberException - if the .NET member raises itpublic void RegisterObject(NetObject obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member, int[] arrayIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SerializationException, MulticastNotSupportedException, IndexOutOfRangeException, MissingMemberException
obj - the argument of type NetObjectobjectID - the argument of type longinfo - the argument of type SerializationInfoidOfContainingObj - the argument of type longmember - the argument of type MemberInfoarrayIndex - the argument of type int[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSerializationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMissingMemberException - if the .NET member raises itpublic void RegisterObject(NetObject dupParam0, long dupParam1, SerializationInfo dupParam2, long dupParam3, MemberInfo dupParam4, JCORefOut dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SerializationException, MulticastNotSupportedException, IndexOutOfRangeException, MissingMemberException
dupParam0 - the argument of type NetObjectdupParam1 - the argument of type longdupParam2 - the argument of type SerializationInfodupParam3 - the argument of type longdupParam4 - the argument of type MemberInfodupParam5 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSerializationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMissingMemberException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object