public class InfinispanSubsystemXMLWriter extends Object implements org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
Modifier and Type | Field and Description |
---|---|
static org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext> |
INSTANCE |
Constructor and Description |
---|
InfinispanSubsystemXMLWriter() |
Modifier and Type | Method and Description |
---|---|
static List<org.jboss.dmr.Property> |
getCachesAsPropertyList(org.jboss.dmr.ModelNode model,
String containerName,
String cacheType)
Obtains a list of all caches in the model of a particular type, as a property list.
|
void |
writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
SubsystemMarshallingContext context) |
public static final org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext> INSTANCE
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException
writeContent
in interface org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
XMLStreamException
XMLElementWriter.writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter, java.lang.Object)
public static List<org.jboss.dmr.Property> getCachesAsPropertyList(org.jboss.dmr.ModelNode model, String containerName, String cacheType)
model
- containerName
- cacheType
- LOCAL_CACHE, INVALIDATION_CACHE, REPLICATED_CACHE, DISTRIBUTED_CACHECopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.