Announcement Announcement Module
Collapse
No announcement yet.
Services and scoped plans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Services and scoped plans

    Hi,

    I wonder if there is a way to "jail break" service from scoped plan to be visible in the global service registry? Any plans to support something like that?

    I was recently looking at the apache aries application documentation (http://incubator.apache.org/aries/applications.html) and noticed "Application-ExportService:" manifest header. This could be a very interesting addition to the plan/par capabilities.

  • #2
    We support allowing services to "punch through" from a scope into the global scope. Here's an example showing the relevant service property:
    Code:
    <service id="publishIntoGlobal" interface="java.lang.CharSequence">
    		<service-properties>
    			<beans:entry key="com.springsource.service.scope" value="global" />
    		</service-properties>
    		<beans:bean class="java.lang.String">
    			<beans:constructor-arg value="foo"/>
    		</beans:bean>
    </service>

    Comment


    • #3
      Brilliant!

      Comment

      Working...
      X