Examples of associate()


Examples of brooklyn.location.access.PortForwardManager.associate()

    private void mapPort(int hostPort, int containerPort) {
        String dockerHost = getAddress().getHostAddress();
        PortForwardManager portForwardManager = getOwner().getDockerHost().getSubnetTier().getPortForwardManager();
        portForwardManager.recordPublicIpHostname(dockerHost, dockerHost);
        portForwardManager.acquirePublicPortExplicit(dockerHost, hostPort);
        portForwardManager.associate(dockerHost, hostPort, this, containerPort);
    }

    @Override
    public HostAndPort getSocketEndpointFor(Cidr accessor, int privatePort) {
        String dockerHost = getAddress().getHostAddress();
View Full Code Here

Examples of com.intellij.lang.javascript.library.JSLibraryMappings.associate()

          ArrayUtil.EMPTY_STRING_ARRAY,
          ScriptingLibraryModel.LibraryLevel.GLOBAL,
          false
        );
        JSLibraryMappings jsLibraryMappings = ServiceManager.getService(project, JSLibraryMappings.class);
        jsLibraryMappings.associate(null, libraryModel.getName());
        jsLibraryManager.commitChanges();
      }
    });
  }
View Full Code Here

Examples of com.intellij.webcore.libraries.ScriptingLibraryMappings.associate()

      else {
        for (Module module : myModuleSelector.getSelectedModules()) {
          ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(module);
          VirtualFile[] roots = moduleRootManager.getContentRoots();
          for (VirtualFile root : roots) {
            libraryMappings.associate(root, libraryModel.getName(), false);
            LOG.info("Library '" + libraryModel.getName() + "' has been associated with " + root);
          }
        }
      }
      myLibraryHelper.commit();
View Full Code Here

Examples of nexj.core.runtime.Instance.associate()

                  value = inst = instantiateObject(value, attribute);

                  if (isCached() && attribute.getReverse() != null && inst != null && !inst.isLazy())
                  {
                     inst.associate(attribute.getReverse().getOrdinal(), instance, true);
                  }
               }
            }

            if (pre != Undefined.VALUE && ObjUtil.equal(value, pre))
View Full Code Here

Examples of org.apache.catalina.authenticator.SingleSignOn.associate()

      // associated sessions are destroyed; if a new SSO entry is created
      // above for this request and the user never revisits the context, the
      // SSO entry will never be cleared if we don't associate the session
      if (session == null)
         session = request.getSessionInternal(true);
      sso.associate(ssoId, session);
   }

   /**
    * Log the user out
    * @param request
View Full Code Here

Examples of org.apache.catalina.authenticator.SingleSignOn.associate()

      // associated sessions are destroyed; if a new SSO entry is created
      // above for this request and the user never revisits the context, the
      // SSO entry will never be cleared if we don't associate the session
      if (session == null)
         session = request.getSessionInternal(true);
      sso.associate(ssoId, session);
   }

   /**
    * Log the user out
    * @param request
View Full Code Here

Examples of org.apache.catalina.authenticator.SingleSignOn.associate()

            SingleSignOn sso = reqHost.getSingleSignOn();
            if (sso != null) {
                String ssoId = (String) getNote(
                    org.apache.catalina.authenticator.Constants.REQ_SSOID_NOTE);
                if (ssoId != null) {
                    sso.associate(ssoId, session);
                    removeNote(
                        org.apache.catalina.authenticator.Constants.REQ_SSOID_NOTE);
                }
            }
        }
View Full Code Here

Examples of org.apache.catalina.authenticator.SingleSignOn.associate()

                    Long ssoVersionObj = (Long)getNote(
                            org.apache.catalina.authenticator.Constants.REQ_SSO_VERSION_NOTE);
                    if (ssoVersionObj != null) {
                        ssoVersion = ssoVersionObj.longValue();
                    }
                    sso.associate(ssoId, ssoVersion, session);
                    removeNote(
                            org.apache.catalina.authenticator.Constants.REQ_SSOID_NOTE);
                }
            }
        }
View Full Code Here

Examples of org.apache.catalina.authenticator.SingleSignOn.associate()

                    Long ssoVersionObj = (Long)getNote(
                            org.apache.catalina.authenticator.Constants.REQ_SSO_VERSION_NOTE);
                    if (ssoVersionObj != null) {
                        ssoVersion = ssoVersionObj.longValue();
                    }
                    sso.associate(ssoId, ssoVersion, session);
                    removeNote(
                            org.apache.catalina.authenticator.Constants.REQ_SSOID_NOTE);
                }
            }
        }
View Full Code Here

Examples of org.apache.geronimo.remoting.transport.async.ChannelPool.associate()

                    socket.socket().setTcpNoDelay(enableTcpNoDelay);
                    BlockingChannel channel = new BlockingChannel();
                    channel.init(connectURI, socket);
                    ChannelPool pool = getChannelPool(channel.getRemoteURI());
                    pool.setBackConnectURI( channel.getRequestedURI() );
                    pool.associate(channel);
                   
                } catch (TransportException ie) {
                    log.debug("Client connection could not be accepted: ", ie);
                } catch (IOException ie) {
                    log.debug("Client connection could not be accepted: ", ie);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.