Package org.apache.ws.notification.topics

Examples of org.apache.ws.notification.topics.TopicSpaceSet


   private Topic[] evaluateTopicExpression( TopicExpression topicExpr )
   {
      try
      {
         NotificationProducerResource resource      = (NotificationProducerResource) getResource(  );
         TopicSpaceSet                topicSpaceSet = resource.getTopicSpaceSet(  );
         return topicSpaceSet.evaluateTopicExpression( topicExpr );
      }
      catch ( TopicPathDialectUnknownException tpdue )
      {
         throw new TopicPathDialectUnknownFaultException( NAMESPACE_SET,
                                                          tpdue.getLocalizedMessage(  ) );
View Full Code Here


   }

   private Topic[] evaluateTopicExpression(  )
   {
      NotificationProducerResource resource      = (NotificationProducerResource) getProducerResource(  );
      TopicSpaceSet                topicSpaceSet = resource.getTopicSpaceSet(  );
      try
      {
         return topicSpaceSet.evaluateTopicExpression( m_topicExpression );
      }
      catch ( TopicExpressionException e )
      {
         LOG.debug( "Failed to evaluate TopicExpression.", e );
         throw new FaultException( Soap1_1Constants.FAULT_CLIENT,
View Full Code Here

       */
      void buildAndPublishEvent( boolean firstEvent )
      {
         try
         {
            TopicSpaceSet aSet = m_notificationProducerResource.getTopicSpaceSet(  );
            TopicSpace    aTopicSpace = aSet.getTopicSpace( MuwsConstants.NSURI_MUWS_PART2_TOPICS );
            ManagementEventTopic operationalStatus =  (ManagementEventTopic) aTopicSpace.getTopic( OperationalStatusCapability.TOPIC_NAME );
            org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString lStringC = LangString.Factory.newInstance(  );
            lStringC.setLang( "en" );
            if ( operationalStatus == null )
            {
View Full Code Here

      try
      {
         //create the backend object associated with this resource
         m_instance = new BusinessProcessInstance( getID(  ).toString(  ) );

        TopicSpaceSet aSet = getTopicSpaceSet(  );
    /* MUWS TopicSpace is returned by MuwsUtils.addRelationshipTopics - This utility operation adds relationship topics support. I
     * nternaly the code :
     * TopicSpace muwsTopicSpace = new TopicSpaceImpl( MuwsConstants.NSURI_MUWS_PART2_TOPICS )
     * aSet.addTopicSpace( muwsTopicSpace ) is executed. We are adding more MUWS topics to this
     * TopicSpace.
 
View Full Code Here

      try
      {
         //    create the backend object associated with this resource
         m_instance = new ApplicationInstance( getID(  ).toString(  ) );

         TopicSpaceSet aSet = getTopicSpaceSet(  );
        /* MUWS TopicSpace is returned by MuwsUtils.addRelationshipTopics - This utility operation adds relationship topics support. I
        * nternaly the code :
        * TopicSpace muwsTopicSpace = new TopicSpaceImpl( MuwsConstants.NSURI_MUWS_PART2_TOPICS )
        * aSet.addTopicSpace( muwsTopicSpace ) is executed. We are adding more MUWS topics to this
        * TopicSpace.
 
View Full Code Here

      try
      {
         //    create the backend object associated with this resource
         m_instance = new HostInstance( getID(  ).toString(  ) );
         TopicSpaceSet aSet = getTopicSpaceSet(  );

         //MUWS TopicSpace
         TopicSpace muwsTopicSpace = new TopicSpaceImpl( MuwsConstants.NSURI_MUWS_PART2_TOPICS );
         aSet.addTopicSpace( muwsTopicSpace );

         ManagementEventTopic identityCapability =
            new XmlBeansManagementEventTopicImpl( IdentityCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( identityCapability );
         ManagementEventTopic manageabilityCharacteristicsCapability =
View Full Code Here

    }

    private Topic[] evaluateTopicExpression() throws Exception
    {
        NotificationProducerResource resource = (NotificationProducerResource) getProducerResource();
        TopicSpaceSet topicSpaceSet = resource.getTopicSpaceSet();
        try
        {
            return topicSpaceSet.evaluateTopicExpression( m_topicExpression );
        }
        catch ( TopicExpressionException e )
        {
            throw new JAXRPCException( "An exception occurred during subscription. ", e );
        }
View Full Code Here

    private Topic[] evaluateTopicExpression( TopicExpression topicExpr )
    {
        try
        {
            NotificationProducerResource resource = (NotificationProducerResource) getResource();
            TopicSpaceSet topicSpaceSet = resource.getTopicSpaceSet();
            return topicSpaceSet.evaluateTopicExpression( topicExpr );
        }
        catch ( TopicPathDialectUnknownException tpdue )
        {
            throw new TopicPathDialectUnknownFaultException( NAMESPACE_SET,
                    tpdue.getLocalizedMessage() );
View Full Code Here

      try
      {
         //    create the backend object associated with this resource
         m_instance = new HostInstance( getID(  ).toString(  ) );
         TopicSpaceSet aSet = getTopicSpaceSet(  );

         //MUWS TopicSpace
         TopicSpace muwsTopicSpace = new TopicSpaceImpl( MuwsConstants.NSURI_MUWS_PART2_TOPICS );
         aSet.addTopicSpace( muwsTopicSpace );

         ManagementEventTopic identityCapability =
            new XmlBeansManagementEventTopicImpl( IdentityCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( identityCapability );
         ManagementEventTopic manageabilityCharacteristicsCapability =
View Full Code Here

       */
      void buildAndPublishEvent( boolean firstEvent )
      {
         try
         {
            TopicSpaceSet aSet = m_notificationProducerResource.getTopicSpaceSet(  );
            TopicSpace    aTopicSpace = aSet.getTopicSpace( MuwsConstants.NSURI_MUWS_PART2_TOPICS );
            ManagementEventTopic operationalStatus =  (ManagementEventTopic) aTopicSpace.getTopic( OperationalStatusCapability.TOPIC_NAME );
            org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString lStringC = LangString.Factory.newInstance(  );
            lStringC.setLang( "en" );
            if ( operationalStatus == null )
            {
View Full Code Here

TOP

Related Classes of org.apache.ws.notification.topics.TopicSpaceSet

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.