com.sun.corba.se.spi.oa.NullServant Java Examples
The following examples show how to use
com.sun.corba.se.spi.oa.NullServant.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CorbaServerRequestDispatcherImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #2
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #3
Source File: SpecialMethod.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #4
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #5
Source File: SpecialMethod.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #6
Source File: SpecialMethod.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #7
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #8
Source File: CorbaServerRequestDispatcherImpl.java From JDKSourceCode1.8 with MIT License | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #9
Source File: SpecialMethod.java From JDKSourceCode1.8 with MIT License | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #10
Source File: SpecialMethod.java From hottub with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #11
Source File: CorbaServerRequestDispatcherImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #12
Source File: SpecialMethod.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #13
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #14
Source File: SpecialMethod.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #15
Source File: SpecialMethod.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #16
Source File: CorbaServerRequestDispatcherImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #17
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #18
Source File: SpecialMethod.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #19
Source File: SpecialMethod.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; if ((servant == null) || (servant instanceof NullServant)) { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } else { return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.getinterfaceNotImplemented(), null); } }
Example #20
Source File: CorbaServerRequestDispatcherImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
/** Always throws OBJECT_NOT_EXIST if operation is not a special method. * If operation is _non_existent or _not_existent, this will just * return without performing any action, so that _non_existent can return * false. Always throws OBJECT_NOT_EXIST for any other special method. * Update for issue 4385. */ protected void handleNullServant(String operation, NullServant nserv ) { try { if (orb.subcontractDebugFlag) { dprint(".handleNullServant->: " + operation); } SpecialMethod specialMethod = SpecialMethod.getSpecialMethod(operation); if ((specialMethod == null) || !specialMethod.isNonExistentMethod()) { if (orb.subcontractDebugFlag) { dprint(".handleNullServant: " + operation + ": throwing OBJECT_NOT_EXIST"); } throw nserv.getException() ; } } finally { if (orb.subcontractDebugFlag) { dprint(".handleNullServant<-: " + operation); } } }
Example #21
Source File: SpecialMethod.java From hottub with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { boolean result = (servant == null) || (servant instanceof NullServant) ; CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(result); return response; }
Example #22
Source File: SpecialMethod.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { boolean result = (servant == null) || (servant instanceof NullServant) ; CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(result); return response; }
Example #23
Source File: SpecialMethod.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { if ((servant == null) || (servant instanceof NullServant)) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } String[] ids = objectAdapter.getInterfaces( servant, objectId ); String clientId = ((InputStream)request.getInputObject()).read_string(); boolean answer = false; for(int i = 0; i < ids.length; i++) if (ids[i].equals(clientId)) { answer = true; break; } CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(answer); return response; }
Example #24
Source File: SpecialMethod.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { if ((servant == null) || (servant instanceof NullServant)) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } String[] ids = objectAdapter.getInterfaces( servant, objectId ); String clientId = ((InputStream)request.getInputObject()).read_string(); boolean answer = false; for(int i = 0; i < ids.length; i++) if (ids[i].equals(clientId)) { answer = true; break; } CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(answer); return response; }
Example #25
Source File: SpecialMethod.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { boolean result = (servant == null) || (servant instanceof NullServant) ; CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(result); return response; }
Example #26
Source File: SpecialMethod.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { if ((servant == null) || (servant instanceof NullServant)) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } String[] ids = objectAdapter.getInterfaces( servant, objectId ); String clientId = ((InputStream)request.getInputObject()).read_string(); boolean answer = false; for(int i = 0; i < ids.length; i++) if (ids[i].equals(clientId)) { answer = true; break; } CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(answer); return response; }
Example #27
Source File: SpecialMethod.java From hottub with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { if ((servant == null) || (servant instanceof NullServant)) { ORB orb = (ORB)request.getBroker() ; ORBUtilSystemException wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.OA_INVOCATION ) ; return request.getProtocolHandler().createSystemExceptionResponse( request, wrapper.badSkeleton(), null); } String[] ids = objectAdapter.getInterfaces( servant, objectId ); String clientId = ((InputStream)request.getInputObject()).read_string(); boolean answer = false; for(int i = 0; i < ids.length; i++) if (ids[i].equals(clientId)) { answer = true; break; } CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(answer); return response; }
Example #28
Source File: SpecialMethod.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { boolean result = (servant == null) || (servant instanceof NullServant) ; CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(result); return response; }
Example #29
Source File: SpecialMethod.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { boolean result = (servant == null) || (servant instanceof NullServant) ; CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(result); return response; }
Example #30
Source File: SpecialMethod.java From JDKSourceCode1.8 with MIT License | 5 votes |
public CorbaMessageMediator invoke(java.lang.Object servant, CorbaMessageMediator request, byte[] objectId, ObjectAdapter objectAdapter) { boolean result = (servant == null) || (servant instanceof NullServant) ; CorbaMessageMediator response = request.getProtocolHandler().createResponse(request, null); ((OutputStream)response.getOutputObject()).write_boolean(result); return response; }