Java Code Examples for org.omg.PortableServer.Servant#_all_interfaces
The following examples show how to use
org.omg.PortableServer.Servant#_all_interfaces .
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: openjdk-8 File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>id_to_reference</code> * <b>3.3.8.24</b> */ public org.omg.CORBA.Object id_to_reference(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling id_to_reference(id=" + id + ") on poa " + this ) ; } if( state >= STATE_DESTROYING ) { throw lifecycleWrapper().adapterDestroyed() ; } Servant s = mediator.idToServant( id ) ; String repId = s._all_interfaces( this, id )[0] ; return makeObject(repId, id ); } finally { unlock() ; } }
Example 2
Source Project: jdk1.8-source-analysis File: POAImpl.java License: Apache License 2.0 | 6 votes |
/** * <code>id_to_reference</code> * <b>3.3.8.24</b> */ public org.omg.CORBA.Object id_to_reference(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling id_to_reference(id=" + id + ") on poa " + this ) ; } if( state >= STATE_DESTROYING ) { throw lifecycleWrapper().adapterDestroyed() ; } Servant s = mediator.idToServant( id ) ; String repId = s._all_interfaces( this, id )[0] ; return makeObject(repId, id ); } finally { unlock() ; } }
Example 3
Source Project: hottub File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 4
Source Project: jdk8u60 File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 5
Source Project: jdk8u60 File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>id_to_reference</code> * <b>3.3.8.24</b> */ public org.omg.CORBA.Object id_to_reference(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling id_to_reference(id=" + id + ") on poa " + this ) ; } if( state >= STATE_DESTROYING ) { throw lifecycleWrapper().adapterDestroyed() ; } Servant s = mediator.idToServant( id ) ; String repId = s._all_interfaces( this, id )[0] ; return makeObject(repId, id ); } finally { unlock() ; } }
Example 6
Source Project: JDKSourceCode1.8 File: POAImpl.java License: MIT License | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 7
Source Project: JDKSourceCode1.8 File: POAImpl.java License: MIT License | 6 votes |
/** * <code>id_to_reference</code> * <b>3.3.8.24</b> */ public org.omg.CORBA.Object id_to_reference(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling id_to_reference(id=" + id + ") on poa " + this ) ; } if( state >= STATE_DESTROYING ) { throw lifecycleWrapper().adapterDestroyed() ; } Servant s = mediator.idToServant( id ) ; String repId = s._all_interfaces( this, id )[0] ; return makeObject(repId, id ); } finally { unlock() ; } }
Example 8
Source Project: hottub File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>id_to_reference</code> * <b>3.3.8.24</b> */ public org.omg.CORBA.Object id_to_reference(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling id_to_reference(id=" + id + ") on poa " + this ) ; } if( state >= STATE_DESTROYING ) { throw lifecycleWrapper().adapterDestroyed() ; } Servant s = mediator.idToServant( id ) ; String repId = s._all_interfaces( this, id )[0] ; return makeObject(repId, id ); } finally { unlock() ; } }
Example 9
Source Project: openjdk-8 File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 10
Source Project: openjdk-jdk8u-backup File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 11
Source Project: openjdk-jdk9 File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 12
Source Project: openjdk-8-source File: POAImpl.java License: GNU General Public License v2.0 | 6 votes |
/** * <code>servant_to_reference</code> * <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock() ; if (debug) { ORBUtility.dprint( this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this ) ; } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces( this, oid )[0] ; return create_reference_with_id(oid, repId); } finally { unlock() ; } }
Example 13
Source Project: jdk1.8-source-analysis File: POAImpl.java License: Apache License 2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 14
Source Project: openjdk-8-source File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 15
Source Project: TencentKona-8 File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 16
Source Project: jdk8u60 File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 17
Source Project: openjdk-8 File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 18
Source Project: openjdk-jdk8u File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 19
Source Project: openjdk-jdk9 File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }
Example 20
Source Project: openjdk-jdk8u-backup File: POAImpl.java License: GNU General Public License v2.0 | 4 votes |
public String[] getInterfaces( java.lang.Object servant, byte[] objectId ) { Servant serv = (Servant)servant ; return serv._all_interfaces( this, objectId ) ; }