JuggerNET Runtime Library v3.6.54.0
3.6.54.0
|
A class that is used to manage PeerMarshallers. More...
Public Member Functions | |
IPeerMarshaller | ResolveMarshaller (Type type) |
IPeerMarshaller | ResolveMarshallerFromAttribute (JavaPeerAttribute jpa) |
The function used to resolve a marshaller for a type that declares its own JavaPeerAttribute . More... | |
IPeerMarshaller | RegisterMarshaller (Type t, IPeerMarshaller m) |
IPeerMarshaller | RegisterMarshaller (Type t, IPeerMarshaller m, bool bFailIfRegistered) |
void | RegisterPeerTypeName (string peerTypeName) |
IPeerMarshaller | RegisterUnmarshaller (string typeInfo, IPeerMarshaller m) |
IPeerMarshaller | RegisterUnmarshaller (string typeInfo, IPeerMarshaller m, bool bFailIfRegistered) |
void | UnregisterMarshaller (Type t) |
void | UnregisterUnmarshaller (string typeInfo) |
IPeerMarshaller | GetPeerMarshaller (Type t) |
IPeerMarshaller | GetPeerUnmarshaller (JavaProxy inst) |
IPeerMarshaller | GetPeerUnmarshaller (string peerType) |
JavaProxy | Marshal (object dotNetInstance) |
Marshals a .NET instance into a Java object. More... | |
JavaProxy | Marshal (object dotNetInstance, JavaProxy javaInstance) |
Marshals a .NET instance into a Java object. The Java object may be passed as an optional argument (default is null) More... | |
JavaProxy | Marshal (object dotNetInstance, JavaProxy javaInstance, PeerMarshalContext ctx) |
Marshals a .NET instance into a Java object. The Java object may be passed as an optional argument (default is null) More... | |
object | Unmarshal (JavaProxy javaInstance) |
Unmarshals a Java instance into a .NET object. More... | |
object | Unmarshal (JavaProxy javaInstance, object dotNetInstance) |
Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null). More... | |
bool | IsPeerTypeName (string typeName) |
Static Public Member Functions | |
static PeerManager | GetPeerManager () |
Properties | |
string | DefaultPeerMarshaller [get, set] |
A property holding the name of a .NET type that implements the IPeerMarshaller interface and is used for marshalling and unmarshalling when no custom marshaller is specified. The default value is Codemesh.JuggerNET.ReflectionPeerValueMarshaller . More... | |
string | DefaultPeerType [get, set] |
A property holding the name of the Java type that is used as a peer type when no peer type is specified. You should rarely rely on this property because typically your peer type will need to implement some specific interfaces to be useful on the Java side. More... | |
A class that is used to manage PeerMarshallers.
|
inline |
Marshals a .NET instance into a Java object.
dotNetInstance | the .NET instance to marshal |
Implements Codemesh.JuggerNET.IPeerMarshaller.
|
inline |
Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null)
dotNetInstance | the .NET instance to marshal |
javaInstance | an optional Java instance to marshal into. |
Implements Codemesh.JuggerNET.IPeerMarshaller.
|
inline |
Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null)
dotNetInstance | the .NET instance to marshal |
javaInstance | an optional Java instance to marshal into. |
ctx | the marshalling context. |
Implements Codemesh.JuggerNET.IPeerMarshaller.
References Codemesh.JuggerNET.IPeerMarshaller.Marshal().
|
inline |
The function used to resolve a marshaller for a type that declares its own JavaPeerAttribute
.
jpa |
References Codemesh.JuggerNET.JavaPeerAttribute.PeerMarshaller, and Codemesh.JuggerNET.JavaPeerAttribute.PeerType.
|
inline |
Unmarshals a Java instance into a .NET object.
javaInstance | the Java instance to unmarshal. |
Implements Codemesh.JuggerNET.IPeerMarshaller.
|
inline |
Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null).
javaInstance | the Java instance to unmarshal. |
dotNetInstance | an optional .NET instance to unmarshal into. |
Implements Codemesh.JuggerNET.IPeerMarshaller.
References Codemesh.JuggerNET.JavaProxy.Handle, Codemesh.JuggerNET.JavaProxy.JObject, and Codemesh.JuggerNET.IPeerMarshaller.Unmarshal().
|
getset |
A property holding the name of a .NET type that implements the IPeerMarshaller interface and is used for marshalling and unmarshalling when no custom marshaller is specified. The default value is Codemesh.JuggerNET.ReflectionPeerValueMarshaller
.
|
getset |
A property holding the name of the Java type that is used as a peer type when no peer type is specified. You should rarely rely on this property because typically your peer type will need to implement some specific interfaces to be useful on the Java side.