Dashboard Builder Data Provider API 6.0.0.Beta3

org.jboss.dashboard.provider
Class DataFormatterRegistry

java.lang.Object
  extended by org.jboss.dashboard.provider.DataFormatterRegistry

@ApplicationScoped
@Named(value="dataFormatterRegistry")
public class DataFormatterRegistry
extends Object

Registry of data property formatters.


Field Summary
protected  javax.enterprise.inject.Instance<DataPropertyFormatter> dataPropertyFormatters
           
protected  DataPropertyFormatter defaultPropertyFormatter
          The default general-purpose property formatter
 
Constructor Summary
DataFormatterRegistry()
           
 
Method Summary
 DataPropertyFormatter getPropertyFormatter(String propId)
           
protected  void init()
           
static DataFormatterRegistry lookup()
          GoF singleton pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultPropertyFormatter

protected DataPropertyFormatter defaultPropertyFormatter
The default general-purpose property formatter


dataPropertyFormatters

@Inject
protected javax.enterprise.inject.Instance<DataPropertyFormatter> dataPropertyFormatters
Constructor Detail

DataFormatterRegistry

public DataFormatterRegistry()
Method Detail

lookup

public static DataFormatterRegistry lookup()
GoF singleton pattern.


init

@PostConstruct
protected void init()

getPropertyFormatter

public DataPropertyFormatter getPropertyFormatter(String propId)

Dashboard Builder Data Provider API 6.0.0.Beta3

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.