Hi blueprint experts,

Can I make a blueprint definition like this?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>

    <bean id="serverbean1"

class="org.apache.aries.samples.blueprint.complex.server.ServerBean1"
        init-method="doSomething">
        <argument value="ServerBean1's Name"></argument>
    </bean>

    <service ref="serverbean1"

interface="org.apache.aries.samples.blueprint.complex.api.ServiceInterface1"/>

    <reference id="serviceref1"

interface="org.apache.aries.samples.blueprint.complex.api.ServiceInterface1"/>

    <bean id="callservicebean"
            class="org.apache.aries.samples.blueprint.complex.Bean6"
            init-method="startUp">
            <argument ref="serviceref1"/>
    </bean>
</blueprint>

ServerBean1 and Bean6 are in the same blueprint bundle. I find this bundle
cannot be started, the blueprint state shows failure.

Any comments?

Thanks!
Forrest

Reply via email to