de.smartics.properties.integration.cdi.extension
Class ConfigurationMessageBean

Package class diagram package ConfigurationMessageBean
java.lang.Object
  extended by de.smartics.exceptions.i18n.AbstractMessageBean
      extended by de.smartics.properties.integration.cdi.extension.ConfigurationMessageBean
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable

public class ConfigurationMessageBean
     
     
extends de.smartics.exceptions.i18n.AbstractMessageBean

This MessageBean is used when a miss configuration happened. Either when no class could be found or too many classes with the marker annotation Application.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
code, localizedInfo
 
Constructor Summary
ConfigurationMessageBean()
          Constructor used when no class could be found with the marker annotation Application.
ConfigurationMessageBean(List<javax.enterprise.inject.spi.Bean<?>> annotatedBeans)
          Constructor when too many classes are annotated with the marker annotation Application.
 
Method Summary
static ConfigurationMessageBean noClassAnnotated()
          Creates a message bean for convenience.
static ConfigurationMessageBean tooManyClassesAnnotated(List<javax.enterprise.inject.spi.Bean<?>> annotatedBeans)
          Creates a message bean for convenience.
 
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
getCause, getCauseTrail, getCauseTrail, getClassLoader, getCode, getLocalizedInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessages, getMessages, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationMessageBean

public ConfigurationMessageBean(List<javax.enterprise.inject.spi.Bean<?>> annotatedBeans)
Constructor when too many classes are annotated with the marker annotation Application.

Parameters:
annotatedBeans - the beans that have been annotated with the Application annotation.

ConfigurationMessageBean

public ConfigurationMessageBean()
Constructor used when no class could be found with the marker annotation Application.

Method Detail

noClassAnnotated

public static ConfigurationMessageBean noClassAnnotated()
Creates a message bean for convenience.

Returns:
the message bean.

tooManyClassesAnnotated

public static ConfigurationMessageBean tooManyClassesAnnotated(List<javax.enterprise.inject.spi.Bean<?>> annotatedBeans)
Creates a message bean for convenience.

Parameters:
annotatedBeans - the annotated beans list.
Returns:
the message bean.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.