org.jboss.dashboard.provider
Class DataFormatterRegistry
java.lang.Object
org.jboss.dashboard.provider.DataFormatterRegistry
@ApplicationScoped
@Named(value="dataFormatterRegistry")
public class DataFormatterRegistry
- extends Object
Registry of data property formatters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultPropertyFormatter
protected DataPropertyFormatter defaultPropertyFormatter
- The default general-purpose property formatter
dataPropertyFormatters
@Inject
protected javax.enterprise.inject.Instance<DataPropertyFormatter> dataPropertyFormatters
DataFormatterRegistry
public DataFormatterRegistry()
lookup
public static DataFormatterRegistry lookup()
- GoF singleton pattern.
init
@PostConstruct
protected void init()
getPropertyFormatter
public DataPropertyFormatter getPropertyFormatter(String propId)
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.