servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricardo Nobrega (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SM-774) afterPropertiesSet in JAXPXPathExpression is callable only once
Date Wed, 13 Dec 2006 16:03:03 GMT
    [ https://issues.apache.org/activemq/browse/SM-774?page=comments#action_37669 ] 
            
Ricardo Nobrega commented on SM-774:
------------------------------------

Yes, I agree it doesn't look good; I'll try to follow your suggestions, thanks

> afterPropertiesSet in JAXPXPathExpression is callable only once
> ---------------------------------------------------------------
>
>                 Key: SM-774
>                 URL: https://issues.apache.org/activemq/browse/SM-774
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-core
>            Reporter: Ricardo Nobrega
>            Priority: Minor
>
> There is no way to change the xpath after afterPropertiesSet is called, which is
> needed, for example, if the xpath is stored in a table, and injected after the bean is
> created. Suggestion: replace
> public void setXPath(String xpath) {
>         this.xpath = xpath;
>  }
> with 
> public void setXPath(String xpath) {
>         this.xpath = xpath;
>         this.xPathExpression = null;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message