|
ModeShape Distribution 3.6.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.schematic.DocumentFactory
org.infinispan.schematic.Schematic
public class Schematic
Nested Class Summary | |
---|---|
static interface |
Schematic.ContentTypes
|
protected static class |
Schematic.DocumentChanges
|
protected static class |
Schematic.EditorImpl
|
Field Summary |
---|
Fields inherited from class org.infinispan.schematic.DocumentFactory |
---|
DEFAULT_FACTORY |
Constructor Summary | |
---|---|
Schematic()
|
Method Summary | |
---|---|
static SchemaLibrary |
createSchemaLibrary()
Create an in-memory schema library. |
static SchemaLibrary |
createSchemaLibrary(String name)
Create an in-memory schema library. |
static Editor |
editDocument(Document document,
boolean clone)
Obtain an editor for the supplied document. |
static org.infinispan.marshall.AdvancedExternalizer<Object>[] |
externalizers()
Get the set of Externalizer implementations that are used by Schematic. |
static Set<? extends org.infinispan.marshall.AdvancedExternalizer<?>> |
externalizerSet()
Get the complete set of AdvancedExternalizer implementations. |
static SchematicDb |
get(org.infinispan.manager.CacheContainer cacheContainer,
String cacheName)
Get the SchematicDb instance given the cache name and container. |
Methods inherited from class org.infinispan.schematic.DocumentFactory |
---|
newArray, newArray, newArray, newArray, newDocument, newDocument, newDocument, newDocument, newDocument, newDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schematic()
Method Detail |
---|
public static SchematicDb get(org.infinispan.manager.CacheContainer cacheContainer, String cacheName)
SchematicDb
instance given the cache name and container.
cacheContainer
- the container for the named cache; may not be nullcacheName
- the name of the cache; may not be null
public static Editor editDocument(Document document, boolean clone)
serializable memento
that can be applied to another document.
document
- the document to be editedclone
- true if the editor should operate against a clone of the document, or false if it should operate against the
supplied document
public static SchemaLibrary createSchemaLibrary()
public static SchemaLibrary createSchemaLibrary(String name)
name
- the name of the library; may be null if a default name is to be used
public static org.infinispan.marshall.AdvancedExternalizer<Object>[] externalizers()
Externalizer
implementations that are used by Schematic. These need to be registered with the
GlobalConfiguration
:
GlobalConfiguration config = new GlobalConfiguration(); config = config.fluent().serialization().addAdvancedExternalizer(Schematic.externalizers()).build();
public static Set<? extends org.infinispan.marshall.AdvancedExternalizer<?>> externalizerSet()
AdvancedExternalizer
implementations. Note that this does not include Externalizer
implementations that are not AdvancedExternalizer
s.
AdvancedExternalizer
implementations.
|
ModeShape Distribution 3.6.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |