|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.rmi.system.UtilDelegateImpl
This class provides a default implementation for javax.rmi.CORBA.UtilDelegate
| Constructor Summary | |
UtilDelegateImpl()
Constructor. |
|
| Method Summary | |
java.lang.Object |
copyObject(java.lang.Object obj,
org.omg.CORBA.ORB orb)
The copyObject method is used by local stubs to copy an actual parameter, result object, or exception. |
java.lang.Object[] |
copyObjects(java.lang.Object[] obj,
org.omg.CORBA.ORB orb)
The copyObjects method is used by local stubs to copy any number of actual parameters, preserving sharing across parameters as necessary to support RMI/IDL semantics. |
javax.rmi.CORBA.ValueHandler |
createValueHandler()
This method returns a singleton instance of a class that implements the ValueHandler interface. |
java.lang.String |
getCodebase(java.lang.Class clz)
The getCodebase method returns the Java codebase for the Class object clz as a space-separated list of URLs. |
javax.rmi.CORBA.Tie |
getTie(java.rmi.Remote target)
This method return the Tie object for an implementation object target, or null if no Tie is registered for the target object. |
boolean |
isLocal(javax.rmi.CORBA.Stub s)
This method has the same semantics as the ObjectImpl's _is_local() method, except that it can throw a RemoteException. |
java.lang.Class |
loadClass(java.lang.String className,
java.lang.String remoteCodebase,
java.lang.Class loadingContext)
The loadClass method loads a Java class object for the Java class name className, using additional information passed in the remoteCodebase and loader parameters. |
java.lang.Class |
loadClass(java.lang.String className,
java.lang.String remoteCodebase,
java.lang.ClassLoader loadingContext)
The loadClass method loads a Java class object for the Java class name className, using additional information passed in the remoteCodebase and loader parameters. |
static org.omg.CORBA.TypeCode |
lookupRuntimeTypeCode(java.lang.Object obj)
Create typecode from runtime class. |
java.rmi.RemoteException |
mapSystemException(org.omg.CORBA.SystemException ex)
The mapSystemException method maps a CORBA system exception to a java.rmi.RemoteException or a java.rmi.RuntimeException.The mapping is described in Section 1.4.8, Mapping CORBA System Exceptions to RMI Exceptions, on page 1-34. |
java.lang.Object |
readAny(org.omg.CORBA.portable.InputStream in)
The readAny method reads a GIOP any from the input stream in and unmarshals it as a Java object, which is returned. |
void |
registerTarget(javax.rmi.CORBA.Tie tie,
java.rmi.Remote target)
The registerTarget method is needed to support unexportObject. |
void |
unexportObject(java.rmi.Remote target)
The unexportObject method deactivates an implementation object and removes its associated Tie from the table maintained by the Util class. |
java.rmi.RemoteException |
wrapException(java.lang.Throwable obj)
The wrapException method wraps an exception thrown by an implementation method. |
void |
writeAbstractObject(org.omg.CORBA.portable.OutputStream out,
java.lang.Object obj)
The writeAbstractObject method is another similar utility method for use by stubs. |
void |
writeAny(org.omg.CORBA.portable.OutputStream out,
java.lang.Object obj)
The writeAny method writes the Java object obj to the output stream out in the form of a GIOP any. |
void |
writeRemoteObject(org.omg.CORBA.portable.OutputStream out,
java.lang.Object obj)
The writeRemoteObject method is a utility method for use by stubs when writing an RMI/IDL object reference to an output stream. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UtilDelegateImpl()
| Method Detail |
public java.rmi.RemoteException mapSystemException(org.omg.CORBA.SystemException ex)
mapSystemException in interface javax.rmi.CORBA.UtilDelegate
public void writeAny(org.omg.CORBA.portable.OutputStream out,
java.lang.Object obj)
writeAny in interface javax.rmi.CORBA.UtilDelegatepublic java.lang.Object readAny(org.omg.CORBA.portable.InputStream in)
readAny in interface javax.rmi.CORBA.UtilDelegate
public void writeRemoteObject(org.omg.CORBA.portable.OutputStream out,
java.lang.Object obj)
writeRemoteObject in interface javax.rmi.CORBA.UtilDelegate
public void writeAbstractObject(org.omg.CORBA.portable.OutputStream out,
java.lang.Object obj)
writeAbstractObject in interface javax.rmi.CORBA.UtilDelegate
public void registerTarget(javax.rmi.CORBA.Tie tie,
java.rmi.Remote target)
registerTarget in interface javax.rmi.CORBA.UtilDelegatepublic void unexportObject(java.rmi.Remote target)
unexportObject in interface javax.rmi.CORBA.UtilDelegatepublic javax.rmi.CORBA.Tie getTie(java.rmi.Remote target)
getTie in interface javax.rmi.CORBA.UtilDelegatepublic javax.rmi.CORBA.ValueHandler createValueHandler()
createValueHandler in interface javax.rmi.CORBA.UtilDelegatepublic java.rmi.RemoteException wrapException(java.lang.Throwable obj)
wrapException in interface javax.rmi.CORBA.UtilDelegate
public java.lang.Object copyObject(java.lang.Object obj,
org.omg.CORBA.ORB orb)
throws java.rmi.RemoteException
copyObject in interface javax.rmi.CORBA.UtilDelegate
public java.lang.Object[] copyObjects(java.lang.Object[] obj,
org.omg.CORBA.ORB orb)
throws java.rmi.RemoteException
copyObjects in interface javax.rmi.CORBA.UtilDelegate
public boolean isLocal(javax.rmi.CORBA.Stub s)
throws java.rmi.RemoteException
isLocal in interface javax.rmi.CORBA.UtilDelegatepublic java.lang.String getCodebase(java.lang.Class clz)
getCodebase in interface javax.rmi.CORBA.UtilDelegate
public java.lang.Class loadClass(java.lang.String className,
java.lang.String remoteCodebase,
java.lang.Class loadingContext)
throws java.lang.ClassNotFoundException
public java.lang.Class loadClass(java.lang.String className,
java.lang.String remoteCodebase,
java.lang.ClassLoader loadingContext)
throws java.lang.ClassNotFoundException
loadClass in interface javax.rmi.CORBA.UtilDelegate
public static org.omg.CORBA.TypeCode lookupRuntimeTypeCode(java.lang.Object obj)
throws java.io.InvalidClassException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||