Package system.runtime.serialization
Class ObjectManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.serialization.ObjectManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ObjectManager extends NetObject
The base .NET class managing System.Runtime.Serialization.ObjectManager, System.Runtime.Serialization.Formatters, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.ObjectManager
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: System.Runtime.Serialization.Formatters, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Runtime.Serialization.Formattersstatic java.lang.String
className
Qualified class name: System.Runtime.Serialization.ObjectManagerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ObjectManager()
ObjectManager(java.lang.Object instance)
Internal constructor.ObjectManager(ISurrogateSelector selector, StreamingContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectManager
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoObjectManager
, a cast assert is made to check if types are compatible.void
DoFixups()
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 TypeNetObject
GetObject(long objectID)
void
RaiseDeserializationEvent()
void
RaiseOnDeserializingEvent(NetObject obj)
void
RecordArrayElementFixup(long arrayToBeFixed, int[] indices, long objectRequired)
void
RecordArrayElementFixup(long arrayToBeFixed, int index, long objectRequired)
void
RecordArrayElementFixup(long dupParam0, JCORefOut dupParam1, long dupParam2)
void
RecordDelayedFixup(long objectToBeFixed, java.lang.String memberName, long objectRequired)
void
RecordFixup(long objectToBeFixed, MemberInfo member, long objectRequired)
void
RegisterObject(NetObject obj, long objectID)
void
RegisterObject(NetObject obj, long objectID, SerializationInfo info)
void
RegisterObject(NetObject obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member)
void
RegisterObject(NetObject obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member, int[] arrayIndex)
void
RegisterObject(NetObject dupParam0, long dupParam1, SerializationInfo dupParam2, long dupParam3, MemberInfo dupParam4, JCORefOut dupParam5)
void
setJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Runtime.Serialization.Formatters, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Runtime.Serialization.Formatters- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.Serialization.ObjectManager- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectManager
public ObjectManager(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ObjectManager
public ObjectManager() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ObjectManager
public ObjectManager(ISurrogateSelector selector, StreamingContext context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
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 ObjectManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoObjectManager
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ObjectManager
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetObject
public NetObject GetObject(long objectID) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
DoFixups
public void DoFixups() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SerializationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, MissingMemberException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
SerializationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
MissingMemberException
-
RaiseDeserializationEvent
public void RaiseDeserializationEvent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RaiseOnDeserializingEvent
public void RaiseOnDeserializingEvent(NetObject obj) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, MulticastNotSupportedException, InvalidOperationException
-
RecordArrayElementFixup
public void RecordArrayElementFixup(long arrayToBeFixed, int index, long objectRequired) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, SerializationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
SerializationException
-
RecordArrayElementFixup
public void RecordArrayElementFixup(long arrayToBeFixed, int[] indices, long objectRequired) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, SerializationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
SerializationException
-
RecordArrayElementFixup
public void RecordArrayElementFixup(long dupParam0, JCORefOut dupParam1, long dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, SerializationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
SerializationException
-
RecordDelayedFixup
public void RecordDelayedFixup(long objectToBeFixed, java.lang.String memberName, long objectRequired) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, SerializationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
SerializationException
-
RecordFixup
public void RecordFixup(long objectToBeFixed, MemberInfo member, long objectRequired) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SerializationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
SerializationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
RegisterObject
public 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, InvalidCastException, MissingMemberException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
SerializationException
MulticastNotSupportedException
IndexOutOfRangeException
InvalidCastException
MissingMemberException
-
RegisterObject
public 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, InvalidCastException, MissingMemberException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
SerializationException
MulticastNotSupportedException
IndexOutOfRangeException
InvalidCastException
MissingMemberException
-
RegisterObject
public 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, InvalidCastException, MissingMemberException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
SerializationException
MulticastNotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
InvalidCastException
MissingMemberException
-
RegisterObject
public void RegisterObject(NetObject obj, long objectID, SerializationInfo info) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, SerializationException, MulticastNotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
SerializationException
MulticastNotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
InvalidOperationException
MissingMemberException
-
RegisterObject
public void RegisterObject(NetObject obj, long objectID) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, SerializationException, MulticastNotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
SerializationException
MulticastNotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
InvalidOperationException
MissingMemberException
-
-