 # Copyright 2006, 2007, 2008, 2009, 2011, 2012 The Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

build-method-conflict=Service %s (defined by %s) conflicts with previously defined service defined by %s.
service-wrong-interface=Service '%s' implements interface %s, which is not compatible with the requested type %s.
instantiate-builder-error=Unable to instantiate class %s as a module: %s
no-service-matches-type=No service implements the interface %s.
many-service-matches=Service interface %s is matched by %d services: %s.  \
  Automatic dependency resolution requires that exactly one service implement the interface.
no-services-match-marker=Unable to locate any service assignable to type %s with marker annotation(s) %s.
many-services-match-marker=Unable to locate a single service assignable to type %s with marker annotation(s) %s.  \
 All of the following services match: %s.
unknown-scope=Unknown service scope '%s'.
decorator-returned-wrong-type=Decorator method %s (invoked for service '%s') returned %s, \
  which is not assignable to the %s service interface.
recursive-service-build=Construction of service '%s' has failed due to recursion: \
  the service depends on itself in some way. \
  Please check %s for references to another service that is itself dependent on service '%1$s'.
contribution-wrong-return-type=Method %s is named like a service contributor method, \
  but the return type (%s) is not appropriate (it should be void). The return value will be ignored.
too-many-contribution-parameters=Service contribution method %s contains more than one parameter of type Configuration, \
  OrderedConfiguration, or MappedConfiguration. Exactly one such parameter is required for a service contribution method.
too-many-configuration-parameters=Service builder method %s contains more than one parameter of type \
  Collection, List, or Map. Parameters of this type are the way in which service configuration values, \
  collected from service contributor methods, are provided to the service builder. \
  Services are only allowed a single configuration
no-contribution-parameter=Service contribution method %s does not contain a parameter of type \
  Configuration, OrderedConfiguration or MappedConfiguration. This parameter is how the method \
  make contributions into the service's configuration.
contribution-method-error=Error invoking service contribution method %s: %s
contribution-was-null=Service contribution (to service '%s') was null.
contribution-key-was-null=Key for service contribution (to service '%s') was null.
contribution-wrong-key-type=Key for service contribution (to service '%s') was an instance of %s, \
  but the expected key type was %s.
contribution-duplicate-key=Service contribution (to service '%s') for key '%s' conflicts with existing contribution (by %s).
generic-type-not-supported=Generic type '%s' is not supported. Only simple parameterized lists are \
  supported.
error-building-service=Error building service proxy for service '%s' (at %s): %s
no-public-constructors=Module class %s does not contain any public constructors.
too-many-public-constructors=Module class %s contains more than one public constructor. \
  The first constructor, %s, is being used. \
  You should change the class to have only a single public constructor.
recursive-module-constructor=The constructor for module class %s is recursive: it depends on itself in some way. \
  The constructor, %s, is in some way is triggering a service builder, decorator or contribution method within the class.
constructed-configuration=Constructed configuration: %s
service-construction-failed=Construction of service %s failed: %s
service-id-conflict=Service id '%s' has already been defined by %s and may not be redefined by %s. \
 You should rename one of the service builder methods.
no-constructor=Class %s (implementation of service '%s') does not contain any public constructors.
bind-method-must-be-static=Method %s appears to be a service binder method, but is an instance method, not a static method.
error-in-bind-method=Error invoking service binder method %s: %s
no-autobuild-constructor=Class %s does not contain a public constructor needed to autobuild.
overlapping-service-proxy-providers=Setting a new service proxy provider when there's already an existing provider. This may indicate that you have multiple IoC Registries.
unexpected-service-proxy-provider=Unexpected service proxy provider when clearing the provider. This may indicate that you have multiple IoC Registries.
no-proxy-provider=Service token for service '%s' can not be converted back into a proxy because no proxy provider has been registered. This may indicate that an IoC Registry has not been started yet.
contribution-for-nonexistent-service=Contribution %s is for service '%s', which does not exist.
contribution-for-unqualified-service=Contribution %s is for service '%s' qualified with marker annotations %s, which does not exist.
abstract-service-implementation=Class %s (implementation of service '%s') is abstract.
