aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alasdair Nottingham <alasdair.notting...@gmail.com>
Subject Re: Namespace handler that I can use to extend service
Date Wed, 18 Nov 2009 23:55:32 GMT
Looking at the code I believe you can do this. The NamespaceHandler's
decorate method is called.

I'm not sure what you do with this once the decorate method is called,
but it looks like it should work.

Alasdair

2009/11/18 Alan D. Cabrera <list@toolazydogs.com>:
> I browsed through the code and it wasn't clear to me if I could do this:
>
>    <service interface="com.acme.FooService"
> slp:slp-url="service:foo:zookeeper://CHBE00034/myqueue">
>        <service-properties>
>            <entry key="com.acme.service.datcenter" value="${location}"/>
>            <entry key="com.acme.service.priority" value="${priority}"/>
>        </service-properties>
>        <bean class="com.acme.FooServiceImpl">
>            <property name="datcenter"  value="${location}"/>
>            <property name="priority"  value="${priority}"/>
>        </bean>
>    </service>
>
> My namespace handler would be given the <service/> element and I could
> introspect the service metadata and the bean metadata.
>
>
> Regards,
> Alan
>
>



-- 
Alasdair Nottingham
alasdair.nottingham@gmail.com

Mime
View raw message