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

OSGI-INF.blueprint.trac-issue-context.xml Maven / Gradle / Ivy

Go to download

Trac Connector implements the Issue Domain and is an issue tool connector for the Trac project management and issue tracker system.

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

    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.

-->

<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">

  <reference id="securityInterceptor" interface="org.aopalliance.intercept.MethodInterceptor" />

  <bean id="serviceManagerProxyFactory" class="org.openengsb.core.common.ProxyFactoryBean">
    <property name="proxyInterfaces">
      <list>
        <value>org.openengsb.core.common.ServiceManager</value>
      </list>
    </property>
    <property name="target" ref="realServiceManager" />
    <property name="advices">
      <list>
        <ref component-id="securityInterceptor" />
      </list>
    </property>
  </bean>

  <reference id="persistenceManager" interface="org.openengsb.core.common.persistence.PersistenceManager" />

  <bean id="connectorSetupStore" class="org.openengsb.core.common.connectorsetupstore.PersistenceConnectorSetupStore"
    init-method="init">
    <property name="persistenceManager" ref="persistenceManager" />
    <property name="bundleContext" ref="blueprintBundleContext" />
  </bean>

  <service interface="org.openengsb.core.common.ServiceManager">
    <service-properties>
      <entry key="domain" value="org.openengsb.domain.issue.IssueDomain" />
      <entry key="connector" value="trac" />
    </service-properties>
    <bean factory-ref="serviceManagerProxyFactory" factory-method="getObject" />
  </service>

  <bean id="realServiceManager" class="org.openengsb.connector.trac.TracServiceManager" init-method="init">
    <argument>
      <bean class="org.openengsb.connector.trac.internal.TracServiceInstanceFactory" />
    </argument>
    <property name="connectorSetupStore" ref="connectorSetupStore" />
    <property name="bundleContext" ref="blueprintBundleContext" />
    <property name="securityInterceptor" ref="securityInterceptor" />
  </bean>

</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy