/[classpath]/classpath/gnu/CORBA/Poa/gnuServantObject.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/Poa/gnuServantObject.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by audriusa, Fri Oct 28 12:04:39 2005 UTC revision 1.8 by audriusa, Fri Oct 28 14:05:22 2005 UTC
# Line 304  public class gnuServantObject extends Ob Line 304  public class gnuServantObject extends Ob
304        }        }
305      else if (a_servant instanceof DynamicImplementation)      else if (a_servant instanceof DynamicImplementation)
306        {        {
307          return new dynImpHandler((DynamicImplementation) a_servant);          return new DynamicImpHandler((DynamicImplementation) a_servant);
308        }        }
309      else      else
310        {        {
# Line 436  public class gnuServantObject extends Ob Line 436  public class gnuServantObject extends Ob
436          try          try
437            {            {
438              CookieHolder cookie = null;              CookieHolder cookie = null;
439              activeObjectMap.Obj self = poa.aom.get(Id);              AOM.Obj self = poa.aom.get(Id);
440    
441              if (poa.servant_locator != null)              if (poa.servant_locator != null)
442                {                {
# Line 477  public class gnuServantObject extends Ob Line 477  public class gnuServantObject extends Ob
477                {                {
478                  // In some cases exception is thrown if the delegate is not set.                  // In some cases exception is thrown if the delegate is not set.
479                }                }
480              if (d instanceof servantDelegate)              if (d instanceof ServantDelegateImpl)
481                {                {
482                  // If the delegate is already set, check maybe we can                  // If the delegate is already set, check maybe we can
483                  // reuse the existing instance.                  // reuse the existing instance.
484                  if (((servantDelegate) d).object != this)                  if (((ServantDelegateImpl) d).object != this)
485                    {                    {
486                      servant._set_delegate(new servantDelegate(servant, poa, Id));                      servant._set_delegate(new ServantDelegateImpl(servant, poa, Id));
487                    }                    }
488                }                }
489              else              else
490                {                {
491                  servant._set_delegate(new servantDelegate(servant, poa, Id));                  servant._set_delegate(new ServantDelegateImpl(servant, poa, Id));
492                }                }
493    
494              try              try

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26