I'm separating out user configuration and system configuration in some beans.xml files, but I don't like the user configuration errors I might get.
Right now I can do:
<inject bean="QuartzSQLProperties"/>
<inject bean="QuartzSQLProperties" description="QuartzSQLProperties is not configured, see wiki http://..."/>
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
QuartzTimerServiceFactory
-> QuartzSQLProperties{Configured:** NOT FOUND Depends on 'QuartzSQLProperties' **}
*** CONTEXTS IN ERROR: Name -> Error
QuartzSQLProperties -> ** NOT FOUND Depends on 'QuartzSQLProperties' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at org.jboss.deployers.plugins.main.MainDeployerImpl.deploy(MainDeployerImpl.java:427)
at org.jboss.ejb3.timerservice.quartz.test.simple.unit.SimpleUnitTestCase.setUpBeforeClass(SimpleUnitTestCase.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
QuartzTimerServiceFactory
-> QuartzSQLProperties{Configured:** NOT FOUND Depends on 'QuartzSQLProperties' ** QuartzSQLProperties is not configured, see wiki http://...}
*** CONTEXTS IN ERROR: Name -> Error
QuartzSQLProperties -> ** NOT FOUND Depends on 'QuartzSQLProperties' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
...