Examples of UddiEntityPublisher


Examples of org.apache.juddi.model.UddiEntityPublisher

    EntityManager em = PersistenceManager.getEntityManager();
    EntityTransaction tx = em.getTransaction();
    try {
      tx.begin();
 
      UddiEntityPublisher publisher = this.getEntityPublisher(em, body.getAuthInfo());
     
      new ValidatePublish(publisher).validateDeletePublisher(em, body);
 
      List<String> entityKeyList = body.getPublisherId();
      for (String entityKey : entityKeyList) {
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

    EntityManager em = PersistenceManager.getEntityManager();
    EntityTransaction tx = em.getTransaction();
    try {
      tx.begin();
   
      UddiEntityPublisher publisher = this.getEntityPublisher(em, body.getAuthInfo());
     
      new ValidatePublish(publisher).validateAdminDeleteTModel(em, body);
     
      List<String> entityKeyList = body.getTModelKey();
      for (String entityKey : entityKeyList) {
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

    EntityManager em = PersistenceManager.getEntityManager();
    EntityTransaction tx = em.getTransaction();
    try {
      tx.begin();
 
      UddiEntityPublisher publisher = this.getEntityPublisher(em, body.getAuthInfo());
     
      new ValidateClientSubscriptionInfo(publisher).validateDeleteClientSubscriptionInfo(em, body);
 
      List<String> entityKeyList = body.getSubscriptionKey();
      for (String entityKey : entityKeyList) {
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

    EntityManager em = PersistenceManager.getEntityManager();
    EntityTransaction tx = em.getTransaction();
    try {
      tx.begin();
 
      UddiEntityPublisher publisher = this.getEntityPublisher(em, body.getAuthInfo());
     
      new ValidateClientSubscriptionInfo(publisher).validateSaveClientSubscriptionInfo(em, body);
     
      ClientSubscriptionInfoDetail result = new ClientSubscriptionInfoDetail();
 
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

    EntityManager em = PersistenceManager.getEntityManager();
    EntityTransaction tx = em.getTransaction();
    try {
      tx.begin();
 
      UddiEntityPublisher publisher = this.getEntityPublisher(em, body.getAuthInfo());
     
      new ValidateClerk(publisher).validateSaveClerk(em, body);
     
      ClerkDetail result = new ClerkDetail();
 
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

    EntityManager em = PersistenceManager.getEntityManager();
    EntityTransaction tx = em.getTransaction();
    try {
      tx.begin();
 
      UddiEntityPublisher publisher = this.getEntityPublisher(em, body.getAuthInfo());
     
      new ValidateNode(publisher).validateSaveNode(em, body);
     
      NodeDetail result = new NodeDetail();
 
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

    return userID;
  }
 
  public UddiEntityPublisher identify(String authInfo, String authorizedName) throws AuthenticationException {
    return new UddiEntityPublisher(authorizedName);
  }
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

        if (subscription.getExpiresAfter()==null || subscription.getExpiresAfter().getTime() > startTime) {
          try {
            GetSubscriptionResults getSubscriptionResults = buildGetSubscriptionResults(subscription, new Date(scheduledExecutionTime()));
            if (getSubscriptionResults!=null) {
              getSubscriptionResults.setSubscriptionKey(subscription.getSubscriptionKey());
              UddiEntityPublisher publisher = new UddiEntityPublisher();
              publisher.setAuthorizedName(subscription.getAuthorizedName());
              SubscriptionResultsList resultList = subscriptionImpl.getSubscriptionResults(getSubscriptionResults, publisher);
              if (resultListContainsChanges(resultList)) {
                log.info("We have a change and need to notify..");
                notify(getSubscriptionResults,resultList);
              }
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

      }

      tx.begin();
 
      String rootPublisherStr = config.getString(Property.JUDDI_ROOT_PUBLISHER);
      UddiEntityPublisher  rootPublisher = new UddiEntityPublisher(rootPublisherStr);
      rootPublisher.populateKeyGeneratorKeys(em);
      List<String> rootKeyGenList = rootPublisher.getKeyGeneratorKeys();
      if (rootKeyGenList == null || rootKeyGenList.size() == 0)
        throw new ConfigurationException("The 'root' publisher key generator was not found.  Please make sure that the application is properly installed.");
     
      String rootKeyGen = rootKeyGenList.iterator().next();
      //rootKeyGen = rootKeyGen.substring((KeyGenerator.UDDI_SCHEME + KeyGenerator.PARTITION_SEPARATOR).length());
View Full Code Here

Examples of org.apache.juddi.model.UddiEntityPublisher

            log.info("Sending out notification to " + bindingTemplate.getAccessPointUrl());
            subscriptionListenerPort.notifySubscriptionListener(body);
            //there maybe more chunks we have to send
            String chunkToken=body.getSubscriptionResultsList().getChunkToken();
            while(chunkToken!=null) {
              UddiEntityPublisher publisher = new UddiEntityPublisher();
              publisher.setAuthorizedName(modelSubscription.getAuthorizedName());
              log.debug("Sending out next chunk: " + chunkToken + " to " + bindingTemplate.getAccessPointUrl());
              getSubscriptionResults.setChunkToken(chunkToken);
              resultList = subscriptionImpl.getSubscriptionResults(getSubscriptionResults, publisher);
              body.setSubscriptionResultsList(resultList);
              subscriptionListenerPort.notifySubscriptionListener(body);
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.