Java Code Examples for org.omg.PortableServer.Servant#_all_interfaces
The following examples show how to use
org.omg.PortableServer.Servant#_all_interfaces .
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: POAImpl.java From JDKSourceCode1.8 with 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 2
Source File: POAImpl.java From openjdk-8-source with 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 3
Source File: POAImpl.java From openjdk-jdk9 with 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 File: POAImpl.java From openjdk-jdk8u-backup with 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 File: POAImpl.java From openjdk-8 with 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 6
Source File: POAImpl.java From hottub with 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 7
Source File: POAImpl.java From openjdk-8 with 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 8
Source File: POAImpl.java From JDKSourceCode1.8 with 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 9
Source File: POAImpl.java From jdk8u60 with 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 10
Source File: POAImpl.java From jdk8u60 with 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 File: POAImpl.java From hottub with 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 File: POAImpl.java From jdk1.8-source-analysis with 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 13
Source File: POAImpl.java From jdk8u60 with 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 14
Source File: POAImpl.java From TencentKona-8 with 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 File: POAImpl.java From openjdk-8 with 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 File: POAImpl.java From openjdk-jdk8u with 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 File: POAImpl.java From openjdk-8-source with 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 File: POAImpl.java From openjdk-jdk9 with 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 File: POAImpl.java From openjdk-jdk8u-backup with 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 File: POAImpl.java From jdk1.8-source-analysis with 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 ) ; }