seam/international — pull request #25 by sslavic (2012-04-03 13:28:15+00:00)
Title: Fix injecting application locale

Before this fix, startup of container with seam-international-api on
the classpath would fail with unsatisfied dependency of Locale type
reported for ApplicationBundles.

Temporary fix was to include seam-international implementation as
dependency.

This change makes application locale dependency optional by using
Instance. If application locale dependency is unsatisifed, in
@PostConstruct init method of ApplicationBundles, a JVM default Locale
gets used. If there is more than one Locale eligible for injection,
AmbigousResolutionException will get thrown.

Issue: SEAMFACES-237