Class DeferredResources
- java.lang.Object
- 
- org.pepstock.charba.client.resources.AbstractResources
- 
- org.pepstock.charba.client.resources.DeferredResources
 
 
- 
 public final class DeferredResources extends AbstractResources Client bundle to reference LUXON as date time library (asynchronous mode).
 It has been invoked in order to have a resource client bundle, needed to CHARBA, where CHART.JS and date library must be load in deferred mode.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field SummaryFields Modifier and Type Field Description static DeferredResourcesINSTANCEStatic reference to LUXON resources which is injecting the LUXON library.static DeferredResourcesINSTANCE_WITHOUT_DATE_LIBRARYStatic reference to LUXON resources which is NOT injecting the LUXON library, because LUXON date library could be used in other libraries and to avoid to inject the library more than once.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinject()Checks if the module has been injected byEntryPointStarter.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final DeferredResources INSTANCE Static reference to LUXON resources which is injecting the LUXON library.
 - 
INSTANCE_WITHOUT_DATE_LIBRARYpublic static final DeferredResources INSTANCE_WITHOUT_DATE_LIBRARY Static reference to LUXON resources which is NOT injecting the LUXON library, because LUXON date library could be used in other libraries and to avoid to inject the library more than once.
 
- 
 - 
Method Detail- 
injectpublic final void inject() Checks if the module has been injected byEntryPointStarter. if not, throw aUnsupportedOperationException.- Specified by:
- injectin class- AbstractResources
 
 
- 
 
-