Package com.sun.corba.se.spi.activation
Class _RepositoryImplBase
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
com.sun.corba.se.spi.activation._RepositoryImplBase
- All Implemented Interfaces:
Repository,RepositoryOperations,Serializable,Object,IDLEntity,InvokeHandler
- Direct Known Subclasses:
RepositoryImpl
com/sun/corba/se/spi/activation/_RepositoryImplBase.java .
Error! A message was requested which does not exist. The messages file does not contain the key: toJavaProlog1
Error! A message was requested which does not exist. The messages file does not contain the key: toJavaProlog2
Thursday, October 12, 2023 at 9:06:11 PM Central European Summer Time
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]_ids()Retrieves a string array containing the repository identifiers supported by thisObjectImplobject._invoke(String $method, InputStream in, ResponseHandler $rh) Invoked by the ORB to dispatch a request to the servant.Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overrideMethods inherited from interface com.sun.corba.se.spi.activation.RepositoryOperations
getApplicationNames, getServer, getServerID, install, isInstalled, listRegisteredServers, registerServer, uninstall, unregisterServer
-
Constructor Details
-
_RepositoryImplBase
public _RepositoryImplBase()
-
-
Method Details
-
_invoke
Description copied from interface:InvokeHandlerInvoked by the ORB to dispatch a request to the servant. ORB passes the method name, an InputStream containing the marshalled arguments, and a ResponseHandler which the servant uses to construct a proper reply. Only CORBA SystemException may be thrown by this method. The method must return an OutputStream created by the ResponseHandler which contains the marshalled reply. A servant must not retain a reference to the ResponseHandler beyond the lifetime of a method invocation. Servant behaviour is defined as follows:1. Determine correct method, and unmarshal parameters from InputStream.
2. Invoke method implementation.
3. If no user exception, create a normal reply using ResponseHandler.
4. If user exception occurred, create exception reply using ResponseHandler.
5. Marshal reply into OutputStream returned by ResponseHandler.
6. Return OutputStream to ORB.
- Specified by:
_invokein interfaceInvokeHandler- Parameters:
$method- The method name.in- TheInputStreamcontaining the marshalled arguments.$rh- TheResponseHandlerwhich the servant uses to construct a proper reply- Returns:
- The
OutputStreamcreated by the ResponseHandler which contains the marshalled reply
-
_ids
Description copied from class:ObjectImplRetrieves a string array containing the repository identifiers supported by thisObjectImplobject. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_idsin classObjectImpl- Returns:
- the array of all repository identifiers supported by this
ObjectImplinstance
-