org.apache.oozie.service
Class SchemaService
java.lang.Object
org.apache.oozie.service.SchemaService
- All Implemented Interfaces:
- Service
public class SchemaService
- extends Object
- implements Service
Service that loads Oozie workflow definition schema and registered extension
schemas.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONF_PREFIX
public static final String CONF_PREFIX
- See Also:
- Constant Field Values
WF_CONF_EXT_SCHEMAS
public static final String WF_CONF_EXT_SCHEMAS
- See Also:
- Constant Field Values
COORD_CONF_EXT_SCHEMAS
public static final String COORD_CONF_EXT_SCHEMAS
- See Also:
- Constant Field Values
BUNDLE_CONF_EXT_SCHEMAS
public static final String BUNDLE_CONF_EXT_SCHEMAS
- See Also:
- Constant Field Values
SLA_CONF_EXT_SCHEMAS
public static final String SLA_CONF_EXT_SCHEMAS
- See Also:
- Constant Field Values
SLA_NAME_SPACE_URI
public static final String SLA_NAME_SPACE_URI
- See Also:
- Constant Field Values
COORDINATOR_NAMESPACE_URI_1
public static final String COORDINATOR_NAMESPACE_URI_1
- See Also:
- Constant Field Values
SchemaService
public SchemaService()
init
public void init(Services services)
throws ServiceException
- Initialize the service.
- Specified by:
init
in interface Service
- Parameters:
services
- services instance.
- Throws:
ServiceException
- thrown if the service could not be initialized.
getInterface
public Class<? extends Service> getInterface()
- Return the public interface of the service.
- Specified by:
getInterface
in interface Service
- Returns:
SchemaService
.
destroy
public void destroy()
- Destroy the service.
- Specified by:
destroy
in interface Service
getSchema
public Schema getSchema(SchemaService.SchemaName schemaName)
- Return the schema for XML validation of application definitions.
- Parameters:
schemaName:
- Name of schema definition (i.e.
WORKFLOW/COORDINATOR/BUNDLE)
- Returns:
- the schema for XML validation of application definitions.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.