OSGI-INF.blueprint.issue-context.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openengsb-domain-issue Show documentation
Show all versions of openengsb-domain-issue Show documentation
Issue Domain is the tool domain for all issue tracking tools, like Jira, Trac or Mantis
and provides the possibility to create, update, delete and comment issues.
<?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" > <service interface="org.openengsb.core.common.DomainProvider"> <bean class="org.openengsb.domain.issue.IssueDomainProvider"> <property name="bundleContext" ref="blueprintBundleContext" /> </bean> </service> <service> <interfaces> <value>org.openengsb.domain.issue.IssueDomain</value> <value>org.openengsb.core.common.Domain</value> </interfaces> <service-properties> <entry key="id" value="domain.issue" /> <entry key="openengsb.service.type" value="domain" /> </service-properties> <bean factory-ref="domainProxyFactory" factory-method="getObject" /> </service> <bean id="domainProxyFactory" class="org.openengsb.core.common.DefaultDomainProxyFactoryBean"> <property name="domainInterface"> <value>org.openengsb.domain.issue.IssueDomain</value> </property> <property name="domainName" value="IssueDomain" /> <property name="context" ref="contextService" /> <property name="bundleContext" ref="blueprintBundleContext" /> </bean> <service> <interfaces> <value>org.openengsb.domain.issue.IssueDomainEvents</value> <value>org.openengsb.core.common.DomainEvents</value> </interfaces> <service-properties> <entry key="id" value="domain.issue.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.issue.IssueDomainEvents</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>