All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.test-context.xml Maven / Gradle / Ivy

Go to download

Test Domain is used to run tests for projects. The type of project is configured in in the respective tool connector.

There is a newer version: 1.2.1
Show newest version
<?xml version="1.0" encoding="utf-8" ?>
<!--

    Licensed to the Austrian Association for Software Tool Integration (AASTI)
    under one or more contributor license agreements. See the NOTICE file
    distributed with this work for additional information regarding copyright
    ownership. The AASTI licenses this file to you under the Apache License,
    Version 2.0 (the "License"); you may not use this file except in compliance
    with the License. You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd" >

  <service interface="org.openengsb.core.common.DomainProvider">
    <bean class="org.openengsb.domain.test.TestDomainProvider">
      <property name="bundleContext" ref="blueprintBundleContext" />
    </bean>
  </service>

  <service>
    <interfaces>
      <value>org.openengsb.core.common.DomainEvents</value>
      <value>org.openengsb.domain.test.TestDomainEvents</value>
    </interfaces>
    <service-properties>
      <entry key="id" value="domain.test.events" />
      <entry key="openengsb.service.type" value="domain-events" />
    </service-properties>
    <bean factory-ref="domainEventsProxyFactory" factory-method="getObject" />
  </service>

  <bean id="domainEventsProxyFactory" class="org.openengsb.core.events.DomainEventsProxyFactoryBean">
    <property name="domainEventInterface">
      <value>org.openengsb.domain.test.TestDomainEvents</value>
    </property>
    <property name="workflowService" ref="workflowService" />
  </bean>

  <reference id="contextService" interface="org.openengsb.core.common.context.ContextService" />
  <reference id="workflowService" interface="org.openengsb.core.common.workflow.WorkflowService" />
</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy