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

META-INF.spring.scm-context.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="us-ascii" ?>
<!--

    Copyright 2010 OpenEngSB Division, Vienna University of Technology

    Licensed 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.

-->

<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  xmlns:osgi="http://www.springframework.org/schema/osgi"
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
        http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-2.0-m1.xsd">

  <osgi:service interface="org.openengsb.core.common.DomainProvider">
    <bean class="org.openengsb.domains.scm.ScmDomainProvider" />
  </osgi:service>

  <osgi:service>
    <osgi:interfaces>
      <value>org.openengsb.core.common.Domain</value>
      <value>org.openengsb.domains.scm.ScmDomain</value>
    </osgi:interfaces>
    <osgi:service-properties>
      <entry key="id" value="domains.scm" />
      <entry key="openengsb.service.type" value="domain" />
    </osgi:service-properties>
    <bean class="org.openengsb.core.common.DefaultDomainProxyFactoryBean">
      <property name="domainInterface">
        <value>org.openengsb.domains.scm.ScmDomain</value>
      </property>
      <property name="domainName" value="ScmDomain" />
      <property name="context" ref="contextService" />
    </bean>
  </osgi:service>

  <osgi:service>
    <osgi:interfaces>
      <value>org.openengsb.core.common.DomainEvents</value>
      <value>org.openengsb.domains.scm.ScmDomainEvents</value>
    </osgi:interfaces>
    <osgi:service-properties>
      <entry key="id" value="domains.scm.events" />
      <entry key="openengsb.service.type" value="domain-events" />
    </osgi:service-properties>

    <bean class="org.openengsb.core.events.DomainEventsProxyFactoryBean">
      <property name="domainEventInterface">
        <value>org.openengsb.domains.scm.ScmDomainEvents</value>
      </property>
      <property name="workflowService" ref="workflowService" />
    </bean>
  </osgi:service>

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy