Examples of UID


Examples of java.rmi.server.UID

        ConnectionHeader header = client.getConnectionHeader();
        if ( header != null && header.isPersistent() )
        {
            synchronized ( _mutex )
            {
                ejClientInstances.put( new UID().toString(), client );
            }
        }
    }
View Full Code Here

Examples of java.rmi.server.UID

   private String _id;

   public UidIdentifier()
   {
      super();
      _id = new UID().toString();
   }
View Full Code Here

Examples of java.rmi.server.UID

        return autoLoggedIn;
    }

    protected String generateTokenValue() {
        StringBuilder sb = new StringBuilder();
        sb.append(new UID().toString());
        sb.append(":");
        sb.append(random.nextLong());
        return sb.toString();
    }
View Full Code Here

Examples of java.rmi.server.UID

      return new QuartzTriggerHandle(triggerName);
   }
  
   private String nextUniqueName ()
   {
      return (new UID()).toString();
   }
View Full Code Here

Examples of java.rmi.server.UID

  /* (non-Javadoc)
   * @see org.springmodules.javaspaces.entry.UidFactory#generateUid()
   */
  public Serializable generateUid() {
    return new UID();
  }
View Full Code Here

Examples of java.rmi.server.UID

        return retval;
    }


    public static String getUniqueClusterName(String base_name) {
        return base_name != null? base_name + "-" + new UID().toString() : new UID().toString();
    }
View Full Code Here

Examples of java.rmi.server.UID

    }

    public File createTempFile() {
      try {

        tempFile = File.createTempFile(new UID().toString().replace(
            ":", "-"), ".upload");
        // tempFile.deleteOnExit();
        fOut = new FileOutputStream(tempFile);
      } catch (IOException ex) {
        throw new FileUploadException("Could not create temporary file");
View Full Code Here

Examples of java.rmi.server.UID

               "Instead using host based UID strategy for defining a node " +
               "GUID for the cluster.");

      // 2nd: host-GUID strategy
      //
      String uid = new UID().toString();
      return hostIP + ":" + uid;
   }
View Full Code Here

Examples of java.rmi.server.UID

  private String initBridgeRequestScope(ActionRequest request, ActionResponse response)
  {

    // Generate an RMI UID, which is a unique identifier WITHIN the local
    // host. This will be used as the new lifecyleID
    UID uid = new UID();
    String requestScopeId = qualifyScopeId(mPortletConfig.getPortletName(),
                                           request.getPortletSession(true).getId(),
                                           uid.toString());

    // set in response render parameter so will receive in future calls
    // however don't store internally until there is specific state to
    // manage
    response.setRenderParameter(REQUEST_SCOPE_ID_RENDER_PARAM, requestScopeId);
View Full Code Here

Examples of java.rmi.server.UID

     * @param workListener Work listener for callbacks.
     * @return Work Work item representing the asynchronous work
     */
    public WorkItem schedule(Work work, WorkListener workListener) throws IllegalArgumentException {

        WorkItemImpl workItem = new WorkItemImpl(new UID().toString(), work);
        if (workListener != null) {
            workItems.put(workItem, workListener);
        }
        workAccepted(workItem, work);
        if (scheduleWork(work, workItem)) {
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.