Class NoConnectionCacheImpl.NCCContactInfoImpl

    • Constructor Detail

      • NCCContactInfoImpl

        public NCCContactInfoImpl​(ORB orb,
                                  ContactInfoList contactInfoList,
                                  IOR effectiveTargetIOR,
                                  short addressingDisposition,
                                  java.lang.String socketType,
                                  java.lang.String hostname,
                                  int port)
    • Method Detail

      • 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)