Java Code Examples for com.sun.corba.se.spi.ior.ObjectKeyTemplate#getSubcontractId()
The following examples show how to use
com.sun.corba.se.spi.ior.ObjectKeyTemplate#getSubcontractId() .
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 hottub with GNU General Public License v2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 2
Source File: LocalClientRequestDispatcherBase.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
protected LocalClientRequestDispatcherBase(ORB orb, int scid, IOR ior) { this.orb = orb ; TaggedProfile prof = ior.getProfile() ; servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() && prof.isLocal(); ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ; this.scid = oktemp.getSubcontractId() ; RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ; oaf = sreg.getObjectAdapterFactory( scid ) ; oaid = oktemp.getObjectAdapterId() ; ObjectId oid = prof.getObjectId() ; objectId = oid.getId() ; }
Example 3
Source File: CorbaServerRequestDispatcherImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 4
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 5
Source File: LocalClientRequestDispatcherBase.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
protected LocalClientRequestDispatcherBase(ORB orb, int scid, IOR ior) { this.orb = orb ; TaggedProfile prof = ior.getProfile() ; servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() && prof.isLocal(); ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ; this.scid = oktemp.getSubcontractId() ; RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ; oaf = sreg.getObjectAdapterFactory( scid ) ; oaid = oktemp.getObjectAdapterId() ; ObjectId oid = prof.getObjectId() ; objectId = oid.getId() ; }
Example 6
Source File: LocalClientRequestDispatcherBase.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
protected LocalClientRequestDispatcherBase(ORB orb, int scid, IOR ior) { this.orb = orb ; TaggedProfile prof = ior.getProfile() ; servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() && prof.isLocal(); ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ; this.scid = oktemp.getSubcontractId() ; RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ; oaf = sreg.getObjectAdapterFactory( scid ) ; oaid = oktemp.getObjectAdapterId() ; ObjectId oid = prof.getObjectId() ; objectId = oid.getId() ; }
Example 7
Source File: LocalClientRequestDispatcherBase.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
protected LocalClientRequestDispatcherBase(ORB orb, int scid, IOR ior) { this.orb = orb ; TaggedProfile prof = ior.getProfile() ; servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() && prof.isLocal(); ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ; this.scid = oktemp.getSubcontractId() ; RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ; oaf = sreg.getObjectAdapterFactory( scid ) ; oaid = oktemp.getObjectAdapterId() ; ObjectId oid = prof.getObjectId() ; objectId = oid.getId() ; }
Example 8
Source File: LocalClientRequestDispatcherBase.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
protected LocalClientRequestDispatcherBase(ORB orb, int scid, IOR ior) { this.orb = orb ; TaggedProfile prof = ior.getProfile() ; servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() && prof.isLocal(); ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ; this.scid = oktemp.getSubcontractId() ; RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ; oaf = sreg.getObjectAdapterFactory( scid ) ; oaid = oktemp.getObjectAdapterId() ; ObjectId oid = prof.getObjectId() ; objectId = oid.getId() ; }
Example 9
Source File: CorbaServerRequestDispatcherImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 10
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 11
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 12
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
protected void checkServerId(ObjectKey okey) { try { if (orb.subcontractDebugFlag) { dprint(".checkServerId->"); } ObjectKeyTemplate oktemp = okey.getTemplate() ; int sId = oktemp.getServerId() ; int scid = oktemp.getSubcontractId() ; if (!orb.isLocalServerId(scid, sId)) { if (orb.subcontractDebugFlag) { dprint(".checkServerId: bad server id"); } orb.handleBadServerId(okey); } } finally { if (orb.subcontractDebugFlag) { dprint(".checkServerId<-"); } } }
Example 13
Source File: CorbaServerRequestDispatcherImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 14
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 15
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 16
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 17
Source File: CorbaServerRequestDispatcherImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 18
Source File: CorbaServerRequestDispatcherImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 19
Source File: CorbaServerRequestDispatcherImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }
Example 20
Source File: CorbaServerRequestDispatcherImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
private ObjectAdapter findObjectAdapter(ObjectKeyTemplate oktemp) { try { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter->"); } RequestDispatcherRegistry scr = orb.getRequestDispatcherRegistry() ; int scid = oktemp.getSubcontractId() ; ObjectAdapterFactory oaf = scr.getObjectAdapterFactory(scid); if (oaf == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdapterFactory"); } throw wrapper.noObjectAdapterFactory() ; } ObjectAdapterId oaid = oktemp.getObjectAdapterId() ; ObjectAdapter oa = oaf.find(oaid); if (oa == null) { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter: failed to find ObjectAdaptor"); } throw wrapper.badAdapterId() ; } return oa ; } finally { if (orb.subcontractDebugFlag) { dprint(".findObjectAdapter<-"); } } }