Class NoConnectionCacheImpl.NCCContactInfoImpl

java.lang.Object
com.sun.corba.ee.impl.transport.ContactInfoBase
com.sun.corba.ee.impl.transport.ContactInfoImpl
com.sun.corba.ee.impl.plugin.hwlb.NoConnectionCacheImpl.NCCContactInfoImpl
All Implemented Interfaces:
ContactInfo, SocketInfo
Enclosing class:
NoConnectionCacheImpl

private static class NoConnectionCacheImpl.NCCContactInfoImpl extends ContactInfoImpl
  • Constructor Details

    • NCCContactInfoImpl

      public NCCContactInfoImpl(ORB orb, ContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition, String socketType, String hostname, int port)
  • Method Details

    • shouldCacheConnection

      public boolean shouldCacheConnection()
      Description copied from interface: ContactInfo
      Used to determine if the CorbaConnection used for a request should be cached. If true then the ORB will attempt to reuse an existing CorbaConnection. If one is not found it will create a new one and cache it for future use.
      Specified by:
      shouldCacheConnection in interface ContactInfo
      Overrides:
      shouldCacheConnection in class ContactInfoImpl
      Returns:
      true if a CorbaConnection created by this ContactInfo should be cached.
    • createdConnection

      @InfoMethod private void createdConnection(Connection conn)
    • createConnection

      public Connection createConnection()
      Specified by:
      createConnection in interface ContactInfo
      Overrides:
      createConnection in class ContactInfoImpl