apache - Aries blueprint and system properties -
apache - Aries blueprint and system properties -
i'd scheme properties (e.g. username) , pass them properties bean in aries blueprint. pass on property placeholder default, username or computername scheme properties:
<cm:property-placeholder id="placeholder" persistent-id="config"> <cm:default-properties> <cm:property name="group.password" value="${username}" /> </cm:default-properties> </cm:property-placeholder>
or pass on bean, this:
<bean id="mapstoreconfig" class="com.acme.mypackage.mybean"> <property name="enabledp" value="${username}" /> </bean>
i've searched , searched can't find explanation how this. should utilize env:username or this?
try this:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]" /> </blueprint>
apache osgi blueprint aries
Comments
Post a Comment