Package org.apache.ws.muws.v1_0.capability.impl

Examples of org.apache.ws.muws.v1_0.capability.impl.RelationshipsCapabilityImpl


         //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 =
            new XmlBeansManagementEventTopicImpl( ManageabilityCharacteristicsCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( manageabilityCharacteristicsCapability );

         ManagementEventTopic muwsDescriptionCapability =
            new XmlBeansManagementEventTopicImpl( DescriptionCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( muwsDescriptionCapability );

         ManagementEventTopic metricCapability =
            new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( metricCapability );

         // OperationalStatusCapability MUWS topic - add subtopics for AvailableDiskSpace
         ManagementEventTopic operationalStatCapability =
            new XmlBeansManagementEventTopicImpl( OperationalStatusCapability.TOPIC_NAME );

         //ManagementEventTopic statusDiskSpace = new XmlBeansManagementEventTopicImpl( ApplicationHome.AVAILABLE_DISK_TOPIC );
         //operationalStatCapability.addTopic(statusDiskSpace);
         muwsTopicSpace.addTopic( operationalStatCapability );

         m_eventScheduler = new EventScheduler( this );

         //MOWS TopicSpace
         TopicSpace mowsTopicSpace = new TopicSpaceImpl( MowsConstants.NSURI_MOWS_TOPICS );
         getTopicSpaceSet(  ).addTopicSpace( mowsTopicSpace );

         ManagementEventTopic mowsMetricsCapability =
            new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
         mowsTopicSpace.addTopic( mowsMetricsCapability );

         // init the {http://ws.apache.org/muse/example/application/properties}TotalNumberOfRequests Resource Property
         resourceProperty = resourcePropertySet.get( ApplicationPropertyQNames.TOTALNUMBEROFREQUESTS );
         org.apache.ws.muse.example.application.properties.TotalNumberOfRequestsDocument prop_totalnumberofrequests =
View Full Code Here


        //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 = new XmlBeansManagementEventTopicImpl( ManageabilityCharacteristicsCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( manageabilityCharacteristicsCapability );
       
        ManagementEventTopic operationalStatusCapability = new XmlBeansManagementEventTopicImpl(OperationalStatusCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( operationalStatusCapability );
       
        ManagementEventTopic muwsDescriptionCapability = new XmlBeansManagementEventTopicImpl( DescriptionCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( muwsDescriptionCapability );
       
        ManagementEventTopic metricCapability = new XmlBeansManagementEventTopicImpl(MetricsCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( metricCapability );


        //MOWS TopicSpace
        TopicSpace mowsTopicSpace = new TopicSpaceImpl( MowsConstants.NSURI_MOWS_TOPICS );
        getTopicSpaceSet().addTopicSpace( mowsTopicSpace );

        ManagementEventTopic mowsMetricsCapability = new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
        mowsTopicSpace.addTopic( mowsMetricsCapability );
    

    // init the {http://ws.apache.org/muse/example/integrationserver/properties}ListenPort Resource Property
    resourceProperty = resourcePropertySet.get(IntegrationserverPropertyQNames.LISTENPORT);
View Full Code Here

         muwsTopicSpace.addTopic( manageabilityEndpointCreation );
         muwsTopicSpace.addTopic( manageabilityEndpointDestruction );
         topicSpaceSet.addTopicSpace( muwsTopicSpace );

         ManagementEventTopic identityCapability =
            new XmlBeansManagementEventTopicImpl( IdentityCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( identityCapability );
         ManagementEventTopic manageabilityCharacteristicsCapability =
            new XmlBeansManagementEventTopicImpl( ManageabilityCharacteristicsCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( manageabilityCharacteristicsCapability );
         ManagementEventTopic operationalStatusCapability =
            new XmlBeansManagementEventTopicImpl( OperationalStatusCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( operationalStatusCapability );
         ManagementEventTopic muwsDescriptionCapability =
            new XmlBeansManagementEventTopicImpl( DescriptionCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( muwsDescriptionCapability );
         ManagementEventTopic metricCapability =
            new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( metricCapability );

         // init the {http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd}ResourceId Resource Property
         resourceProperty = resourcePropertySet.get( ResourceadminPropertyQNames.RESOURCEID );
         org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument prop_resourceid =
View Full Code Here

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

            ManagementEventTopic identityCapability = new XmlBeansManagementEventTopicImpl("IdentityCapability");
            muwsTopicSpace.addTopic(identityCapability);
            ManagementEventTopic manageabilityCharacteristicsCapability = new XmlBeansManagementEventTopicImpl("ManageabilityCharacteristicsCapability");
            muwsTopicSpace.addTopic(manageabilityCharacteristicsCapability);
            ManagementEventTopic correlatablePropertiesCapability = new XmlBeansManagementEventTopicImpl("CorrelatablePropertiesCapability");
            muwsTopicSpace.addTopic(correlatablePropertiesCapability);
            ManagementEventTopic metricsCapability = new XmlBeansManagementEventTopicImpl("MetricsCapability");
            muwsTopicSpace.addTopic(metricsCapability);
            ManagementEventTopic relationshipCapability = new XmlBeansManagementEventTopicImpl("RelationshipCapability");
            muwsTopicSpace.addTopic(relationshipCapability);
            ManagementEventTopic operationalStatusCapability = new XmlBeansManagementEventTopicImpl("OperationalStatusCapability");
            muwsTopicSpace.addTopic(operationalStatusCapability);

            //MOWS TopicSpace
            TopicSpace mowsTopicSpace = new TopicSpaceImpl(MowsConstants.NSURI_MOWS_TOPICS);
            getTopicSpaceSet().addTopicSpace(mowsTopicSpace);

            ManagementEventTopic mowsIdentificationCapability = new XmlBeansManagementEventTopicImpl("IdentificationCapability");
            mowsTopicSpace.addTopic(mowsIdentificationCapability);
            ManagementEventTopic mowsMetricsCapability = new XmlBeansManagementEventTopicImpl("MetricsCapability");
            mowsTopicSpace.addTopic(mowsMetricsCapability);

            ManagementEventTopic mowsRequestProcessingStateCapability = new XmlBeansManagementEventTopicImpl("RequestProcessingStateCapability");
            mowsTopicSpace.addTopic(mowsRequestProcessingStateCapability);

            ManagementEventTopic mowsRequestProcessingObservations = new XmlBeansManagementEventTopicImpl("RequestProcessingObservations");
            mowsTopicSpace.addTopic(mowsRequestProcessingObservations);

            /** Capabilities **/
            //Management Characteristics
            resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.MANAGEABILITYCAPABILITY);
View Full Code Here

            /** Topics **/
            //MUWS TopicSpace
            TopicSpace muwsTopicSpace = new TopicSpaceImpl(MuwsConstants.NSURI_MUWS_PART2_TOPICS);
            getTopicSpaceSet().addTopicSpace(muwsTopicSpace);

            ManagementEventTopic operationalStatusCapability = new XmlBeansManagementEventTopicImpl("OperationalStatusCapability");
            muwsTopicSpace.addTopic(operationalStatusCapability);
            ManagementEventTopic metricsCapability = new XmlBeansManagementEventTopicImpl("MetricsCapability");
            muwsTopicSpace.addTopic(metricsCapability);
            ManagementEventTopic codeModuleSize = new XmlBeansManagementEventTopicImpl("CodeModuleSize");

            //Blackberry TopicSpace
            TopicSpace bbryTopicSpace = new TopicSpaceImpl(BlackberryPropertyQNames.ALLOCATEDSTORAGE.getNamespaceURI());
            getTopicSpaceSet().addTopicSpace(bbryTopicSpace);
            bbryTopicSpace.addTopic(codeModuleSize);
View Full Code Here

         //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 =
            new XmlBeansManagementEventTopicImpl( ManageabilityCharacteristicsCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( manageabilityCharacteristicsCapability );

         ManagementEventTopic muwsDescriptionCapability =
            new XmlBeansManagementEventTopicImpl( DescriptionCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( muwsDescriptionCapability );

         ManagementEventTopic metricCapability =
            new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
         muwsTopicSpace.addTopic( metricCapability );

         //MOWS TopicSpace
         TopicSpace mowsTopicSpace = new TopicSpaceImpl( MowsConstants.NSURI_MOWS_TOPICS );
         getTopicSpaceSet(  ).addTopicSpace( mowsTopicSpace );

         ManagementEventTopic mowsMetricsCapability =
            new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
         mowsTopicSpace.addTopic( mowsMetricsCapability );

         Calendar calendarInst = Calendar.getInstance(  );

         // init the {http://ws.apache.org/muse/example/businessprocesstype/properties}TotalNumberOfCompletedProcesses Resource Property
View Full Code Here

       *  aSet.addTopicSpace( muwsTopicSpace ) is executed. We are adding more MUWS topics to this
       *   TopicSpace.
      */
      TopicSpace muwsTopicSpace = MuwsUtils.addRelationshipTopics( aSet );

        ManagementEventTopic identityCapability = new XmlBeansManagementEventTopicImpl( IdentityCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( identityCapability );

        ManagementEventTopic manageabilityCharacteristicsCapability = new XmlBeansManagementEventTopicImpl( ManageabilityCharacteristicsCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( manageabilityCharacteristicsCapability );

        ManagementEventTopic operationalStatusCapability = new XmlBeansManagementEventTopicImpl(OperationalStatusCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( operationalStatusCapability );

        ManagementEventTopic muwsDescriptionCapability = new XmlBeansManagementEventTopicImpl( DescriptionCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( muwsDescriptionCapability );

        ManagementEventTopic metricCapability = new XmlBeansManagementEventTopicImpl(MetricsCapability.TOPIC_NAME );
        muwsTopicSpace.addTopic( metricCapability );


        //MOWS TopicSpace
        TopicSpace mowsTopicSpace = new TopicSpaceImpl( MowsConstants.NSURI_MOWS_TOPICS );
        getTopicSpaceSet().addTopicSpace( mowsTopicSpace );

        ManagementEventTopic mowsMetricsCapability = new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
        mowsTopicSpace.addTopic( mowsMetricsCapability );


    // init the {http://ws.apache.org/muse/example/integrationserver/properties}ListenPort Resource Property
    resourceProperty = resourcePropertySet.get(IntegrationserverPropertyQNames.LISTENPORT);
View Full Code Here

TOP

Related Classes of org.apache.ws.muws.v1_0.capability.impl.RelationshipsCapabilityImpl

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.