diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-12 06:45:18 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-12 06:45:18 +0000 |
commit | c65e89c085834b37d541ef740524d829bc91d547 (patch) | |
tree | 2ea36d618a6992e9b9fafa883d556eadaeecfafb /sca-java-2.x | |
parent | f605582ee7cd2332df50d50641d1a795f5bb6b54 (diff) |
Moving error message to builder validation resource bundle
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@909261 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
2 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointBuilderImpl.java b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointBuilderImpl.java index fb0cdae8ca..1971a8d928 100644 --- a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointBuilderImpl.java +++ b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointBuilderImpl.java @@ -97,8 +97,8 @@ public class EndpointBuilderImpl implements CompositeBuilder { //FIXME create a java validation message resource bundle Monitor.error(monitor, this, - null, - "[JCA100006] JAX-WS client-side asynchronous pooling and callback methods are not allowed in service interfaces", + "org.apache.tuscany.sca.builder.builder-validation-messages", + "JaxWSClientAsyncMethodsNotAllowed", service, service.getName()); } diff --git a/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties b/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties index 69d8fb0903..93bc9e8ee3 100644 --- a/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties +++ b/sca-java-2.x/trunk/modules/builder/src/main/resources/org/apache/tuscany/sca/builder/builder-validation-messages.properties @@ -26,3 +26,4 @@ PolicyDOMModelMissmatch = The DOM node which has been found as a result of evalu MultiplePolicyLanguagesInEP = The policy sets for endpoint {0} contain policies specified in more than one language {1} MultiplePolicyLanguagesInEPR = The policy sets for endpoint reference {0} contain policies specified in more than one language {1} MultiplePolicyLanguagesInImpl = The policy sets for component {0} implementation contain policies specified in more than one language {1} +JaxWSClientAsyncMethodsNotAllowed = [JCA100006] JAX-WS client-side asynchronous pooling and callback methods are not allowed in service interfaces |