@Component(value="cuba_TimerFacetProvider") public class TimerFacetProvider extends java.lang.Object implements FacetProvider<Timer>
Modifier and Type | Class and Description |
---|---|
protected static class |
TimerFacetProvider.DeclarativeTimerActionHandler
Deprecated.
|
Constructor and Description |
---|
TimerFacetProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
addInitTimerMethodTask(Timer timer,
java.lang.String timerMethodName,
ComponentLoader.ComponentContext context)
Deprecated.
|
Timer |
create() |
java.lang.Class<Timer> |
getFacetClass() |
java.lang.String |
getFacetTag() |
void |
loadFromXml(Timer facet,
org.dom4j.Element element,
ComponentLoader.ComponentContext context)
Loads properties of the facet from XML.
|
protected void |
loadTimer(Timer timer,
org.dom4j.Element element,
ComponentLoader.ComponentContext context) |
public java.lang.Class<Timer> getFacetClass()
getFacetClass
in interface FacetProvider<Timer>
public Timer create()
create
in interface FacetProvider<Timer>
public java.lang.String getFacetTag()
getFacetTag
in interface FacetProvider<Timer>
public void loadFromXml(Timer facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
FacetProvider
loadFromXml
in interface FacetProvider<Timer>
facet
- facetelement
- XML elementcontext
- loading contextprotected void loadTimer(Timer timer, org.dom4j.Element element, ComponentLoader.ComponentContext context)
@Deprecated protected void addInitTimerMethodTask(Timer timer, java.lang.String timerMethodName, ComponentLoader.ComponentContext context)