Package org.jboss.util.id

Examples of org.jboss.util.id.GUID


   {
      String listenerId = null;
      Object obj = listeners.get(callbackhandler);
      if(obj == null)
      {
         listenerId = new GUID().toString();
         listeners.put(callbackhandler, listenerId);
      }
      return listenerId;
   }
View Full Code Here


      else if (o != null)
      {
         log.error("invokerDestructionDelay parameter must be a string in integer format: " + o);
      }
     
      this.sessionId = new GUID().toString();
   }
View Full Code Here

   public Client(ClassLoader cl, ClientInvoker invoker, String subsystem) throws Exception
   {
      this.classloader = cl;
      this.subsystem = subsystem == null ? null : subsystem.toUpperCase();
      this.invoker = invoker;
      this.sessionId = new GUID().toString();
   }
View Full Code Here

   {
      String listenerId = null;
      Object obj = listeners.get(callbackhandler);
      if(obj == null)
      {
         listenerId = new GUID().toString();
         listeners.put(callbackhandler, listenerId);
      }
      return listenerId;
   }
View Full Code Here

               if(trace) { log.trace(this + " sending initial lease ping to server to determine if server has leasing enabled."); }

               // configuration should NOT be passed as want ping to be specific to client invoker
               // and NOT to the client.

               String leasePingerId = new GUID().toString();
               Map requestMap = new HashMap();
               requestMap.put(LeasePinger.LEASE_PINGER_ID, leasePingerId);
               requestMap.put(LeasePinger.TIME_STAMP, Long.toString(System.currentTimeMillis()));
               requestMap.put(ServerInvoker.TIMEOUT, leaseCreationTimeout);
               if (trace) log.trace(this + " initiating lease for leasePingerId " + leasePingerId);
View Full Code Here

   @Override
   public void deploy(VFSDeploymentUnit unit) throws DeploymentException
   {
      try
      {
         URL dynamicClassRoot = new URL("vfsmemory", new GUID().toString(), "");
         factory.createRoot(dynamicClassRoot);
         URL classesURL = new URL(dynamicClassRoot, "classes");
         VirtualFile classes = factory.createDirectory(classesURL).getVirtualFile();
         unit.addAttachment(DYNAMIC_CLASS_URL_KEY, dynamicClassRoot);
         unit.addAttachment(DYNAMIC_CLASS_KEY, classes);
View Full Code Here

      super(container, bean);
     
      this.containerClusterUid = Ejb3Registry.clusterUid(container);
      this.containerGuid = Ejb3Registry.guid(container);
      this.isClustered = container.isClustered();
      this.id = new GUID();
   }
View Full Code Here

         return containerId.toString() + ":" + id.toString();
      }
      else
      {
         //If the proxy has not been used yet, create a temporary id
         GUID guid = new GUID();
         return containerId.toString() + ":" + guid.toString();
      }
   }
View Full Code Here

         return containerId.toString() + ":" + id.toString();
      }
      else
      {
         //If the proxy has not been used yet, create a temporary id
         GUID guid = new GUID();
         return containerId.toString() + ":" + guid.toString();
      }
   }
View Full Code Here

      this.subsystem = subsystem == null ? null : subsystem.toUpperCase();
      if (configuration != null)
      {
         this.configuration = new HashMap(configuration);
      }
      this.sessionId = new GUID().toString();
   }
View Full Code Here

TOP

Related Classes of org.jboss.util.id.GUID

Copyright © 2018 www.massapicom. 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.