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

Examples of com.ibm.xmlns.stdwip.webServices.wsBaseNotification.TopicDocument$Factory


      if ( expressionType == null )
      {
         return null;
      }

      TopicDocument                                                           topicDoc =
         TopicDocument.Factory.newInstance(  );
      com.ibm.xmlns.stdwip.webServices.wsBaseNotification.TopicExpressionType topicExpressionType =
         topicDoc.addNewTopic(  );

      // Assume that the Any is a QName of the property being subscribed to.
      // We need to convert it to a TopicSpaceType and then put it into the TopicExpressionType
      SOAPElement any = expressionType.get_any(  )[0];
      XmlBeansUtils.setupTopicExpressionType( any.getNamespaceURI(  ),
View Full Code Here


            if ( resourceTopicType != null )
            {
               try
               {
                  TopicDocument topicDocument = buildTopicDocument( topicSpaceType, resourceTopicType );

                  //set the topicSpaceType and resourceTopicType to build topicCursor
                  m_notificationManager.emit( topicDocument,
                                              propertyChange.getPropertChangeNotificationSoapElement(  ) );
               }
View Full Code Here

   private TopicDocument buildTopicDocument( TopicSpaceType topicSpaceType,
                                             TopicType      resourceTopicType )
   {
      //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

   {
      NotificationManager notifMgr = getNotificationManager(  );

      if ( notifMgr != null )
      {
         TopicDocument topicDoc = TopicDocument.Factory.newInstance(  );
         XmlBeansUtils.setupTopicExpressionType( ResourceLifetime11Constants.NSURI_WSRL,
                                                 ResourceLifetime11Constants.TOPIC_QNAME_RESOURCE_TERMINATION
                                                 .getLocalPart(  ),
                                                 topicDoc.addNewTopic(  ) );

         TerminationNotificationDocument termNotifDoc = TerminationNotificationDocument.Factory.newInstance(  );
         TerminationNotification         termNotif = termNotifDoc.addNewTerminationNotification(  );
         termNotif.setTerminationTime( Calendar.getInstance(  ) );
View Full Code Here

   private TopicExpressionType getExistingTopic( String namespace,
                                                 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 );
View Full Code Here

    * @throws Exception DOCUMENT_ME
    */
   public void testBlockSizeSubscribe(  )
   throws Exception
   {
      TopicDocument         topic     = createBlockSizeTopic(  );
      SubscriptionRequest   sr        = createSubscriptionRequest( topic );
      EndpointReferenceType subMgrEpr = null;

      subMgrEpr = m_notificationManager.subscribe( sr );

View Full Code Here

    * @throws Exception DOCUMENT_ME
    */
   public void testManufacturerSubscribe(  )
   throws Exception
   {
      TopicDocument         topic     = createManufacturerTopic(  );
      SubscriptionRequest   sr        = createSubscriptionRequest( topic );
      EndpointReferenceType subMgrEpr = null;

      subMgrEpr = m_notificationManager.subscribe( sr );

View Full Code Here

    * @throws Exception DOCUMENT_ME
    */
   public void testResourceStateSubscribe(  )
   throws Exception
   {
      TopicDocument topic = createMuwsResourceStateTopic(  );
      ;
      SubscriptionRequest   sr        = createSubscriptionRequest( topic );
      EndpointReferenceType subMgrEpr = null;

      subMgrEpr = m_notificationManager.subscribe( sr );
View Full Code Here

    * @throws Exception
    */
   public void testSubscribeToTopicWithInvalidDialect(  )
   throws Exception
   {
      TopicDocument       topicDoc = createTopicWithInvalidDialect(  );
      SubscriptionRequest sr = createSubscriptionRequest( topicDoc );

      try
      {
         m_notificationManager.subscribe( sr );
View Full Code Here

    * @throws Exception
    */
   public void testSubscribeToTopicWithInvalidNS(  )
   throws Exception
   {
      TopicDocument       topicDoc = createTopicWithInvalidNS(  );
      SubscriptionRequest sr = createSubscriptionRequest( topicDoc );

      try
      {
         m_notificationManager.subscribe( sr );
View Full Code Here

TOP

Related Classes of com.ibm.xmlns.stdwip.webServices.wsBaseNotification.TopicDocument$Factory

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.