Package com.ibm.xmlns.stdwip.webServices.wsBaseNotification

Examples of com.ibm.xmlns.stdwip.webServices.wsBaseNotification.TopicExpressionType


      boolean         isValid = false;

      for ( int i = 0; i < topics.length; i++ )
      {
         TopicExpressionType validTopic = topics[i].getTopic(  );
         isValid = XmlBeansUtils.compareTopics( validTopic, topic );

         if ( isValid )
         {
            break;
View Full Code Here


   {
      String       id  = "http://subscription/" + num;
      Subscription sub = new Subscription( id );

      // set a simple topic
      TopicExpressionType topicExp = sub.getResourceProps(  ).getTopicExpression(  );

      MemorySubscriptionManagerTestCase.setupTopicExpressionType( topicExp, "mazzTopic" );

      // expires in the future
      Calendar termination = Calendar.getInstance(  );
View Full Code Here

   {
      String       id  = "http://subscription/" + num;
      Subscription sub = new Subscription( id );

      // set a simple topic
      TopicExpressionType topicExp = sub.getResourceProps(  ).getTopicExpression(  );

      setupTopicExpressionType( topicExp, "mazztopic" );

      // expires in the future
      Calendar termination = Calendar.getInstance(  );
View Full Code Here

    * @return The newly created and registered TopicExpressionType.
    */
   protected TopicExpressionType registerBaseNotifTopic( String targetNamespace,
                                                         String name )
   {
      TopicExpressionType topicExpressionType;

      try
      {
         topicExpressionType = getExistingTopic( targetNamespace, name );
      }
View Full Code Here

                                                 String name )
   throws InvalidResourcePropertyQNameFaultException,
          Exception
   {
      TopicDocument       doc   = TopicDocument.Factory.newInstance(  );
      TopicExpressionType topic = doc.addNewTopic(  );
      XmlBeansUtils.setupTopicExpressionType( namespace, name, topic );
      ResourcePropertiesManager rp_mgr = this.getPropertiesManager(  );

      SOAPElement[]             wsntTopics =
         rp_mgr.getResourceProperty( BaseNotification10Constants.RESOURCE_PROP_QNAME_TOPIC );

      for ( int i = 0; i < wsntTopics.length; i++ )
      {
         SOAPElement         topicElement = wsntTopics[i];
         XmlObject           obj = XmlBeansUtils.toXmlObject( topicElement );

         TopicExpressionType existingTopic = ( (TopicDocument) obj.changeType( TopicDocument.type ) ).getTopic(  );

         if ( XmlBeansUtils.compareTopics( existingTopic, topic ) )
         {
            return existingTopic;
         }
View Full Code Here

    * @return the given <code>sub</code>
    */
   protected Subscription setTopic( Subscription sub,
                                    String       topicName )
   {
      TopicExpressionType topicExp = sub.getResourceProps(  ).getTopicExpression(  );

      MemorySubscriptionManagerTestCase.setupTopicExpressionType( topicExp, topicName );

      return sub;
   }
View Full Code Here

   {
      //build a TopicDocument for our <Topic> elem.
      TopicDocument topicDocument = TopicDocument.Factory.newInstance(  );

      //setup topic expression and cursor to be added to TopicDocument
      TopicExpressionType topic = topicDocument.addNewTopic(  );

      XmlBeansUtils.setupTopicExpressionType( topicSpaceType.getTargetNamespace(  ),
                                              resourceTopicType.getName(  ),
                                              topic );
View Full Code Here

                        SubscriptionRequest subRequest )
   {
      this( id, (SubscriptionManagerRPDocument) null );

      EndpointReferenceType requestConsumer        = subRequest.getConsumer(  );
      TopicExpressionType   requestTopic           = subRequest.getTopic(  );
      boolean               requestUseNotify       = subRequest.isUseNotify(  );
      Calendar              requestTerminationTime = subRequest.getInitialTerminationTime(  );

      SubscriptionManagerRP rp = m_resourceProps.getSubscriptionManagerRP(  );
View Full Code Here

TOP

Related Classes of com.ibm.xmlns.stdwip.webServices.wsBaseNotification.TopicExpressionType

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.