public class TimerAttributeDefinition extends ListAttributeDefinition
Modifier and Type | Field and Description |
---|---|
static String |
CALENDAR_TIMER |
static String |
DAY_OF_MONTH |
static String |
DAY_OF_WEEK |
static String |
END |
static String |
HOUR |
static TimerAttributeDefinition |
INSTANCE |
static String |
MINUTE |
static String |
MONTH |
static String |
NEXT_TIMEOUT |
static String |
PERSISTENT |
static String |
SCHEDULE |
static String |
SECOND |
static String |
START |
static String |
TIME_REMAINING |
static String |
TIMEZONE |
static String |
YEAR |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributeValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle) |
protected void |
addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode node,
String operationName,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle) |
static void |
addTimers(EJBComponent ejb,
org.jboss.dmr.ModelNode response) |
protected void |
addValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceBundle bundle) |
void |
marshallAsElement(org.jboss.dmr.ModelNode resourceModel,
XMLStreamWriter writer)
Marshalls the value from the given
resourceModel as an xml element, if it
is marshallable . |
addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, addResourceAttributeDescription, getElementValidator, parse, parse, parseAndAddParameterElement, parseAndAddParameterElement
correctValue, getAlternatives, getAttributeTextDescription, getDefaultValue, getFlags, getMeasurementUnit, getName, getNoTextDescription, getRequires, getType, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isMarshallable, isMarshallable, isRequired, resolveModelAttribute, validateAndSet, validateOperation, validateResolvedOperation
public static final TimerAttributeDefinition INSTANCE
public static final String TIME_REMAINING
public static final String NEXT_TIMEOUT
public static final String CALENDAR_TIMER
public static final String PERSISTENT
public static final String SCHEDULE
public static final String DAY_OF_MONTH
public static final String DAY_OF_WEEK
public static final String HOUR
public static final String MINUTE
public static final String SECOND
public static final String MONTH
public static final String YEAR
public static final String TIMEZONE
public static final String START
public static final String END
protected void addValueTypeDescription(org.jboss.dmr.ModelNode node, ResourceBundle bundle)
addValueTypeDescription
in class ListAttributeDefinition
protected void addAttributeValueTypeDescription(org.jboss.dmr.ModelNode node, ResourceDescriptionResolver resolver, Locale locale, ResourceBundle bundle)
addAttributeValueTypeDescription
in class ListAttributeDefinition
protected void addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode node, String operationName, ResourceDescriptionResolver resolver, Locale locale, ResourceBundle bundle)
addOperationParameterValueTypeDescription
in class ListAttributeDefinition
public void marshallAsElement(org.jboss.dmr.ModelNode resourceModel, XMLStreamWriter writer) throws XMLStreamException
AttributeDefinition
resourceModel
as an xml element, if it
is marshallable
.marshallAsElement
in class AttributeDefinition
resourceModel
- the model, a non-null node of ModelType.OBJECT
.writer
- stream writer to use for writing the attributeXMLStreamException
- if thrown by writer
public static void addTimers(EJBComponent ejb, org.jboss.dmr.ModelNode response)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.