public abstract class SchemaManager extends Object implements Serializable
| Constructor and Description |
|---|
SchemaManager() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.base.Optional<Schema> |
getSchema(String schemaName)
Return information that describing the schema for a particular type.
|
abstract Map<String,Schema> |
getSchemas()
List name of all schemas managed by the manager.
|
abstract void |
registerSchema(Schema... schema)
In cluster deployments every server runs same application and
will most probably call this method with exact same name and schema.
|
abstract void |
removeSchema(String schemaName)
Removes the schema and will not longer be managed by this
configuration manager.
|
public static final String PROPERTY
public abstract Map<String,Schema> getSchemas()
public abstract com.google.common.base.Optional<Schema> getSchema(String schemaName)
schemaName - of schema.public abstract void registerSchema(Schema... schema)
This method also binds together interaction between different manager implementations through specific properties.
schema - list of schemas to register.public abstract void removeSchema(String schemaName)
This operation DOES NOT remove beans instances that are associated with the schema that is to be removed.
schemaName - identifiying the schema.Copyright © 2013. All Rights Reserved.