Java Code Examples for org.omg.PortableServer.ForwardRequest
The following examples show how to use
org.omg.PortableServer.ForwardRequest. These examples are extracted from open source projects.
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 Project: jdk1.8-source-analysis Source File: ServantManagerImpl.java License: Apache License 2.0 | 5 votes |
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) throws ForwardRequest { String objKey = new String(oid); Servant servant = (Servant) contexts.get(objKey); if (servant == null) { servant = readInContext(objKey); } return servant; }
Example 2
Source Project: jdk1.8-source-analysis Source File: POAPolicyMediatorImpl_NR_UDS.java License: Apache License 2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { if (defaultServant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return defaultServant; }
Example 3
Source Project: jdk1.8-source-analysis Source File: POAImpl.java License: Apache License 2.0 | 5 votes |
public void getInvocationServant( OAInvocationInfo info ) { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling getInvocationServant on poa " + this ) ; } java.lang.Object servant = null ; try { servant = mediator.getInvocationServant( info.id(), info.getOperation() ); } catch (ForwardRequest freq) { throw new ForwardException( getORB(), freq.forward_reference ) ; } info.setServant( servant ) ; } finally { if (debug) { ORBUtility.dprint( this, "Exiting getInvocationServant on poa " + this ) ; } unlock() ; } }
Example 4
Source Project: jdk1.8-source-analysis Source File: POAPolicyMediatorImpl_R_UDS.java License: Apache License 2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { Servant servant = internalIdToServant( id ) ; if (servant == null) servant = defaultServant ; if (servant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return servant ; }
Example 5
Source Project: jdk1.8-source-analysis Source File: POAPolicyMediatorBase.java License: Apache License 2.0 | 5 votes |
public final java.lang.Object getInvocationServant( byte[] id, String operation ) throws ForwardRequest { java.lang.Object result = internalGetServant( id, operation ) ; return result ; }
Example 6
Source Project: TencentKona-8 Source File: ServantManagerImpl.java License: GNU General Public License v2.0 | 5 votes |
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) throws ForwardRequest { String objKey = new String(oid); Servant servant = (Servant) contexts.get(objKey); if (servant == null) { servant = readInContext(objKey); } return servant; }
Example 7
Source Project: TencentKona-8 Source File: POAPolicyMediatorImpl_NR_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { if (defaultServant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return defaultServant; }
Example 8
Source Project: TencentKona-8 Source File: POAImpl.java License: GNU General Public License v2.0 | 5 votes |
public void getInvocationServant( OAInvocationInfo info ) { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling getInvocationServant on poa " + this ) ; } java.lang.Object servant = null ; try { servant = mediator.getInvocationServant( info.id(), info.getOperation() ); } catch (ForwardRequest freq) { throw new ForwardException( getORB(), freq.forward_reference ) ; } info.setServant( servant ) ; } finally { if (debug) { ORBUtility.dprint( this, "Exiting getInvocationServant on poa " + this ) ; } unlock() ; } }
Example 9
Source Project: TencentKona-8 Source File: POAPolicyMediatorImpl_R_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { Servant servant = internalIdToServant( id ) ; if (servant == null) servant = defaultServant ; if (servant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return servant ; }
Example 10
Source Project: TencentKona-8 Source File: POAPolicyMediatorBase.java License: GNU General Public License v2.0 | 5 votes |
public final java.lang.Object getInvocationServant( byte[] id, String operation ) throws ForwardRequest { java.lang.Object result = internalGetServant( id, operation ) ; return result ; }
Example 11
Source Project: jdk8u60 Source File: ServantManagerImpl.java License: GNU General Public License v2.0 | 5 votes |
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) throws ForwardRequest { String objKey = new String(oid); Servant servant = (Servant) contexts.get(objKey); if (servant == null) { servant = readInContext(objKey); } return servant; }
Example 12
Source Project: jdk8u60 Source File: POAPolicyMediatorImpl_NR_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { if (defaultServant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return defaultServant; }
Example 13
Source Project: jdk8u60 Source File: POAImpl.java License: GNU General Public License v2.0 | 5 votes |
public void getInvocationServant( OAInvocationInfo info ) { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling getInvocationServant on poa " + this ) ; } java.lang.Object servant = null ; try { servant = mediator.getInvocationServant( info.id(), info.getOperation() ); } catch (ForwardRequest freq) { throw new ForwardException( getORB(), freq.forward_reference ) ; } info.setServant( servant ) ; } finally { if (debug) { ORBUtility.dprint( this, "Exiting getInvocationServant on poa " + this ) ; } unlock() ; } }
Example 14
Source Project: jdk8u60 Source File: POAPolicyMediatorImpl_R_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { Servant servant = internalIdToServant( id ) ; if (servant == null) servant = defaultServant ; if (servant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return servant ; }
Example 15
Source Project: jdk8u60 Source File: POAPolicyMediatorBase.java License: GNU General Public License v2.0 | 5 votes |
public final java.lang.Object getInvocationServant( byte[] id, String operation ) throws ForwardRequest { java.lang.Object result = internalGetServant( id, operation ) ; return result ; }
Example 16
Source Project: JDKSourceCode1.8 Source File: ServantManagerImpl.java License: MIT License | 5 votes |
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) throws ForwardRequest { String objKey = new String(oid); Servant servant = (Servant) contexts.get(objKey); if (servant == null) { servant = readInContext(objKey); } return servant; }
Example 17
Source Project: JDKSourceCode1.8 Source File: POAPolicyMediatorImpl_NR_UDS.java License: MIT License | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { if (defaultServant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return defaultServant; }
Example 18
Source Project: JDKSourceCode1.8 Source File: POAImpl.java License: MIT License | 5 votes |
public void getInvocationServant( OAInvocationInfo info ) { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling getInvocationServant on poa " + this ) ; } java.lang.Object servant = null ; try { servant = mediator.getInvocationServant( info.id(), info.getOperation() ); } catch (ForwardRequest freq) { throw new ForwardException( getORB(), freq.forward_reference ) ; } info.setServant( servant ) ; } finally { if (debug) { ORBUtility.dprint( this, "Exiting getInvocationServant on poa " + this ) ; } unlock() ; } }
Example 19
Source Project: JDKSourceCode1.8 Source File: POAPolicyMediatorImpl_R_UDS.java License: MIT License | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { Servant servant = internalIdToServant( id ) ; if (servant == null) servant = defaultServant ; if (servant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return servant ; }
Example 20
Source Project: JDKSourceCode1.8 Source File: POAPolicyMediatorBase.java License: MIT License | 5 votes |
public final java.lang.Object getInvocationServant( byte[] id, String operation ) throws ForwardRequest { java.lang.Object result = internalGetServant( id, operation ) ; return result ; }
Example 21
Source Project: openjdk-jdk8u Source File: ServantManagerImpl.java License: GNU General Public License v2.0 | 5 votes |
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) throws ForwardRequest { String objKey = new String(oid); Servant servant = (Servant) contexts.get(objKey); if (servant == null) { servant = readInContext(objKey); } return servant; }
Example 22
Source Project: openjdk-jdk8u Source File: POAPolicyMediatorImpl_NR_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { if (defaultServant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return defaultServant; }
Example 23
Source Project: openjdk-jdk8u Source File: POAImpl.java License: GNU General Public License v2.0 | 5 votes |
public void getInvocationServant( OAInvocationInfo info ) { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling getInvocationServant on poa " + this ) ; } java.lang.Object servant = null ; try { servant = mediator.getInvocationServant( info.id(), info.getOperation() ); } catch (ForwardRequest freq) { throw new ForwardException( getORB(), freq.forward_reference ) ; } info.setServant( servant ) ; } finally { if (debug) { ORBUtility.dprint( this, "Exiting getInvocationServant on poa " + this ) ; } unlock() ; } }
Example 24
Source Project: openjdk-jdk8u Source File: POAPolicyMediatorImpl_R_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { Servant servant = internalIdToServant( id ) ; if (servant == null) servant = defaultServant ; if (servant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return servant ; }
Example 25
Source Project: openjdk-jdk8u Source File: POAPolicyMediatorBase.java License: GNU General Public License v2.0 | 5 votes |
public final java.lang.Object getInvocationServant( byte[] id, String operation ) throws ForwardRequest { java.lang.Object result = internalGetServant( id, operation ) ; return result ; }
Example 26
Source Project: openjdk-jdk8u-backup Source File: ServantManagerImpl.java License: GNU General Public License v2.0 | 5 votes |
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) throws ForwardRequest { String objKey = new String(oid); Servant servant = (Servant) contexts.get(objKey); if (servant == null) { servant = readInContext(objKey); } return servant; }
Example 27
Source Project: openjdk-jdk8u-backup Source File: POAPolicyMediatorImpl_NR_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { if (defaultServant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return defaultServant; }
Example 28
Source Project: openjdk-jdk8u-backup Source File: POAImpl.java License: GNU General Public License v2.0 | 5 votes |
public void getInvocationServant( OAInvocationInfo info ) { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling getInvocationServant on poa " + this ) ; } java.lang.Object servant = null ; try { servant = mediator.getInvocationServant( info.id(), info.getOperation() ); } catch (ForwardRequest freq) { throw new ForwardException( getORB(), freq.forward_reference ) ; } info.setServant( servant ) ; } finally { if (debug) { ORBUtility.dprint( this, "Exiting getInvocationServant on poa " + this ) ; } unlock() ; } }
Example 29
Source Project: openjdk-jdk8u-backup Source File: POAPolicyMediatorImpl_R_UDS.java License: GNU General Public License v2.0 | 5 votes |
protected java.lang.Object internalGetServant( byte[] id, String operation ) throws ForwardRequest { Servant servant = internalIdToServant( id ) ; if (servant == null) servant = defaultServant ; if (servant == null) throw poa.invocationWrapper().poaNoDefaultServant() ; return servant ; }
Example 30
Source Project: openjdk-jdk8u-backup Source File: POAPolicyMediatorBase.java License: GNU General Public License v2.0 | 5 votes |
public final java.lang.Object getInvocationServant( byte[] id, String operation ) throws ForwardRequest { java.lang.Object result = internalGetServant( id, operation ) ; return result ; }