/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/protocol/ |
H A D | JIDLLocalCRDImpl.java | 50 protected ServantObject servant; field in class:JIDLLocalCRDImpl 56 if (!checkForCompatibleServant( servant, expectedType )) 59 return servant; 63 ServantObject servant ) 69 public void setServant( java.lang.Object servant ) 71 if (servant != null && servant instanceof Tie) { 72 this.servant = new ServantObject(); 73 this.servant.servant [all...] |
H A D | SpecialMethod.java | 51 public abstract CorbaMessageMediator invoke(java.lang.Object servant, argument 81 public CorbaMessageMediator invoke(java.lang.Object servant, argument 86 boolean result = (servant == null) || (servant instanceof NullServant) ; 109 public CorbaMessageMediator invoke(java.lang.Object servant, argument 114 if ((servant == null) || (servant instanceof NullServant)) { 123 String[] ids = objectAdapter.getInterfaces( servant, objectId ); 149 public CorbaMessageMediator invoke(java.lang.Object servant, argument 158 if ((servant [all...] |
H A D | NotLocalLocalCRDImpl.java | 61 ServantObject servant) 60 servant_postinvoke(org.omg.CORBA.Object self, ServantObject servant) argument
|
H A D | CorbaServerRequestDispatcherImpl.java | 114 * We do not want to look for a servant in the POA/ServantManager case, 116 * returns true if the servant MAY exist, and false only if the servant 128 * the appropriate ObjectAdapter is available, not that the servant 202 java.lang.Object servant = getServantWithPI(request, objectAdapter, 205 dispatchToServant(servant, request, objectId, objectAdapter); 360 java.lang.Object servant = getServant(objectAdapter, objectId, 363 // Note: we do not know the MDI on a null servant. 369 if (servant instanceof NullServant) 370 handleNullServant(operation, (NullServant)servant); 589 dispatchToServant( java.lang.Object servant, CorbaMessageMediator req, byte[] objectId, ObjectAdapter objectAdapter) argument [all...] |
/openjdk10/corba/src/java.corba/share/classes/org/omg/CORBA/portable/ |
H A D | ServantObject.java | 43 /** The real servant. The local stub may cast this field to the expected type, and then 44 * invoke the operation directly. Note, the object may or may not be the actual servant 47 public java.lang.Object servant; field in class:ServantObject
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/spi/oa/ |
H A D | OAInvocationInfo.java | 43 // This is the container object for the servant. 44 // In the RMI-IIOP case, it is the RMI-IIOP Tie, and the servant is the 70 this.servant = info.servant ; 102 public void setServant(Object servant) argument 104 servantContainer = servant ; 105 if (servant instanceof Tie) 106 this.servant = ((Tie)servant).getTarget() ; 108 this.servant [all...] |
H A D | ObjectAdapter.java | 90 * <li>A cached local invocation, where the servant is cached when the IOR is established 110 * <li>dispatch to servant</li> 127 * <li>dispatch to servant</li> 152 * <li>dispatch to servant</li> 207 /** Get the servant corresponding to the given objectId, if this is supported. 208 * This method is only used for models where the servant is an ObjectImpl, 209 * which allows the servant to be used directly as the stub. This allows an object 210 * reference to be replaced by its servant when it is unmarshalled locally. 215 /** Get the servant for the request given by the parameters. 217 * The servant i 248 getInterfaces( Object servant, byte[] objectId ) argument [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/oa/poa/ |
H A D | POAPolicyMediatorImpl_R_UDS.java | 64 Servant servant = internalIdToServant( id ) ; 65 if (servant == null) 66 servant = defaultServant ; 68 if (servant == null) 71 return servant ; 97 public void setDefaultServant( Servant servant ) throws WrongPolicy 99 defaultServant = servant;
|
H A D | POAPolicyMediatorImpl_R_USM.java | 108 java.lang.Object servant = activeObjectMap.getServant( entry ) ; 109 if (servant != null) { 112 "internalGetServant: servant already activated" ) ; 115 return servant ; 121 "internalGetServant: no servant activator in POA" ) ; 140 servant = activator.incarnate(id, poa); 142 if (servant == null) 143 servant = new NullServantImpl( 170 // servant == null means incarnate threw an exception, 171 // while servant instanceo 309 private Servant servant ; field in class:POAPolicyMediatorImpl_R_USM.Etherealizer 313 Etherealizer( POAPolicyMediatorImpl_R_USM mediator, ActiveObjectMap.Key key, AOMEntry entry, Servant servant, boolean debug ) argument [all...] |
H A D | POAPolicyMediatorBase_R.java | 85 protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant ) 87 setDelegate(servant, key.id ); 90 System.out.println("Activating object " + servant + 94 activeObjectMap.putServant( servant, entry ) ; 99 factory.registerPOAForServant(poa, servant); 103 public final void activateObject(byte[] id, Servant servant) argument 106 if (isUnique && activeObjectMap.contains(servant)) 114 activateServant( key, entry, servant ) ; 171 public byte[] servantToId( Servant servant ) throws ServantNotActive, WrongPolicy 179 ActiveObjectMap.Key key = activeObjectMap.getKey(servant); [all...] |
H A D | POAPolicyMediatorImpl_R_AOM.java | 65 java.lang.Object servant = internalIdToServant( id ) ; 66 if (servant == null) 67 servant = new NullServantImpl( 69 return servant ; 93 public void setDefaultServant( Servant servant ) throws WrongPolicy
|
H A D | POAPolicyMediatorImpl_NR_USM.java | 79 java.lang.Object servant; 83 servant = locator.preinvoke(id, poa, operation, cookieHolder); 84 if (servant == null) 85 servant = new NullServantImpl( poa.omgInvocationWrapper().nullServantReturned() ) ; 87 setDelegate( (Servant)servant, id); 92 return servant; 142 public void setDefaultServant( Servant servant ) throws WrongPolicy 147 public final void activateObject(byte[] id, Servant servant) argument 158 public byte[] servantToId( Servant servant ) throws ServantNotActive, WrongPolicy
|
H A D | POAPolicyMediator.java | 66 /** Get the servant to use for an invocation with the 68 * @param id the object ID for which we are requesting a servant 70 * the servant 76 /** Release a servant that was obtained from getInvocationServant. 89 /** Return the servant manager. Will throw WrongPolicy 94 /** Set the servant manager. Will throw WrongPolicy 99 /** Return the default servant. Will throw WrongPolicy 104 /** Set the default servant. Will throw WrongPolicy 107 void setDefaultServant( Servant servant ) throws WrongPolicy ; 109 void activateObject( byte[] id, Servant servant ) [all...] |
H A D | POAPolicyMediatorImpl_NR_UDS.java | 105 public void setDefaultServant( Servant servant ) throws WrongPolicy 107 this.defaultServant = servant; 111 public final void activateObject(byte[] id, Servant servant) argument 122 public byte[] servantToId( Servant servant ) throws ServantNotActive, WrongPolicy
|
H A D | POACurrent.java | 108 Servant servant = (Servant)(peekThrowInternal().getServantContainer()); 109 // If is OK for the servant to be null. 112 return servant; 132 void setServant(Servant servant) argument 134 peekThrowInternal().setServant( servant ); 161 // after the servant has been invoked.
|
H A D | POAFactory.java | 98 public synchronized POA lookupPOA (Servant servant) argument 100 return (POA)exportedServantsToPOA.get(servant); 103 public synchronized void registerPOAForServant(POA poa, Servant servant) argument 105 exportedServantsToPOA.put(servant, poa); 108 public synchronized void unregisterPOAForServant(POA poa, Servant servant) argument 110 exportedServantsToPOA.remove(servant);
|
H A D | ActiveObjectMap.java | 41 * multiple IDs per servant are allowed. This class suppots bidirectional 42 * traversal of the key-servant association. Access to an instance of this 146 public final void putServant( Servant servant, AOMEntry value ) argument 148 entryToServant.put( value, servant ) ; 149 servantToEntry.put( servant, value ) ; 157 Servant servant = (Servant)entryToServant.remove( entry ) ; 158 if (servant != null) 159 servantToEntry.remove( servant ) ;
|
H A D | POAImpl.java | 257 // package private for access to servant to POA map 1218 public byte[] activate_object(Servant servant) argument 1227 " (servant=" + servant + ")" ) ; 1236 mediator.activateObject( id, servant ) ; 1259 Servant servant) 1268 " (servant=" + servant + " id=" + id + ")" ) ; 1275 mediator.activateObject( idClone, servant ) ; 1364 public byte[] servant_to_id(Servant servant) argument 1258 activate_object_with_id(byte[] id, Servant servant) argument 1385 servant_to_reference(Servant servant) argument 1546 getInterfaces( java.lang.Object servant, byte[] objectId ) argument [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/oa/toa/ |
H A D | TransientObjectManager.java | 58 public synchronized byte[] storeServant(java.lang.Object servant, java.lang.Object servantData) argument 64 freeList = (Element)freeList.servant; 66 byte[] result = elem.getKey(servant, servantData); 84 return elementArray[index].servant; 87 // servant not found 108 // servant not found 118 dprint( "deleting servant at index=" + index ) ; 124 public synchronized byte[] getKey(java.lang.Object servant) argument 128 elementArray[i].servant == servant ) 156 java.lang.Object servant=null; // also stores "next pointer" in free list field in class:Element 169 getKey(java.lang.Object servant, java.lang.Object servantData) argument [all...] |
H A D | TOA.java | 37 /** Connect the given servant to the ORB by allocating a transient object key 40 void connect( org.omg.CORBA.Object servant ) ;
|
H A D | TOAImpl.java | 117 /** Get the servant for the request given by the parameters. 125 java.lang.Object servant = servants.lookupServant( info.id() ) ; 126 if (servant == null) 129 servant = new NullServantImpl( lifecycleWrapper().nullServant() ) ; 130 info.setServant( servant ) ; 138 /** Return the most derived interface for the given servant and objectId. 140 public String[] getInterfaces( Object servant, byte[] objectId ) argument 142 return StubAdapter.getTypeIds( servant ) ; 210 // Get the delegate, then ior, then transientKey, then delete servant
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/spi/protocol/ |
H A D | LocalClientRequestDispatcher.java | 41 * Returns a Java reference to the servant which should be used for this 43 * If a ServantObject object is returned, then its servant field 45 * or may not be the actual servant instance). The local stub may cast 46 * the servant field to the expected type, and then invoke the operation 55 * @param expectedType a Class object representing the expected type of the servant. 63 * The method must return null if the servant is not of the expected type. 70 ServantObject servant); 69 servant_postinvoke(org.omg.CORBA.Object self, ServantObject servant) argument
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/interceptors/ |
H A D | ServerRequestInfoImpl.java | 102 private java.lang.Object servant; field in class:ServerRequestInfoImpl 147 servant = null; 294 // because a servant locator caused a location forward or 311 // because a servant locator caused a location forward or 367 * The RepositoryID for the most derived interface of the servant. 408 * Returns true if the servant is the given RepositoryId, false if it is 415 if( servant instanceof Servant ) { 416 result = ((Servant)servant)._is_a( id ); 417 } else if (StubAdapter.isStub( servant )) { 418 result = ((org.omg.CORBA.Object)servant) 801 setInfo( java.lang.Object servant, String targetMostDerivedInterface ) argument [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/spi/presentation/rmi/ |
H A D | StubAdapter.java | 88 /** Use implicit activation to get an object reference for the servant. 90 public static org.omg.CORBA.Object activateServant( Servant servant ) 92 POA poa = servant._default_POA() ; 96 ref = poa.servant_to_reference( servant ) ; 128 Servant servant = (Servant)tie ; 129 return activateServant( servant ) ;
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/naming/pcosnaming/ |
H A D | ServantManagerImpl.java | 93 Servant servant = (Servant) contexts.get(objKey); 95 if (servant == null) 97 servant = readInContext(objKey); 100 return servant; 104 java.lang.Object cookie, Servant servant) 103 postinvoke(byte[] oid, POA adapter, String operation, java.lang.Object cookie, Servant servant) argument
|