public class SchemaService extends Object implements Service
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SchemaService.SchemaName  | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
BUNDLE_CONF_EXT_SCHEMAS  | 
static String | 
BUNDLE_CONF_SCHEMAS  | 
static String | 
CONF_PREFIX  | 
static String | 
COORD_CONF_EXT_SCHEMAS  | 
static String | 
COORD_CONF_SCHEMAS  | 
static String | 
COORDINATOR_NAMESPACE_URI_1  | 
static String | 
SLA_CONF_EXT_SCHEMAS  | 
static String | 
SLA_CONF_SCHEMAS  | 
static String | 
SLA_NAME_SPACE_URI
Deprecated.  
 | 
static String | 
SLA_NAMESPACE_URI_2  | 
static String | 
WF_CONF_EXT_SCHEMAS  | 
static String | 
WF_CONF_SCHEMAS  | 
DEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description | 
|---|
SchemaService()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()
Destroy the service. 
 | 
Class<? extends Service> | 
getInterface()
Return the public interface of the service. 
 | 
Schema | 
getSchema(SchemaService.SchemaName schemaName)
Return the schema for XML validation of application definitions. 
 | 
void | 
init(Services services)
Initialize the service. 
 | 
public static final String CONF_PREFIX
public static final String WF_CONF_SCHEMAS
public static final String WF_CONF_EXT_SCHEMAS
public static final String COORD_CONF_SCHEMAS
public static final String COORD_CONF_EXT_SCHEMAS
public static final String BUNDLE_CONF_SCHEMAS
public static final String BUNDLE_CONF_EXT_SCHEMAS
public static final String SLA_CONF_SCHEMAS
public static final String SLA_CONF_EXT_SCHEMAS
@Deprecated public static final String SLA_NAME_SPACE_URI
public static final String SLA_NAMESPACE_URI_2
public static final String COORDINATOR_NAMESPACE_URI_1
public SchemaService()
public void init(Services services) throws ServiceException
init in interface Serviceservices - services instance.ServiceException - thrown if the service could not be initialized.public Class<? extends Service> getInterface()
getInterface in interface ServiceSchemaService.public Schema getSchema(SchemaService.SchemaName schemaName)
schemaName: - Name of schema definition (i.e.
        WORKFLOW/COORDINATOR/BUNDLE)Copyright © 2016 Apache Software Foundation. All rights reserved.