org.apache.oozie.service
Class WorkflowSchemaService
java.lang.Object
org.apache.oozie.service.WorkflowSchemaService
- All Implemented Interfaces:
- Service
public class WorkflowSchemaService
- 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
CONF_EXT_SCHEMAS
public static final String CONF_EXT_SCHEMAS
- See Also:
- Constant Field Values
WorkflowSchemaService
public WorkflowSchemaService()
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:
WorkflowSchemaService
.
destroy
public void destroy()
- Destroy the service.
- Specified by:
destroy
in interface Service
getSchema
public Schema getSchema()
- Return the schema for XML validation of application definitions.
- Returns:
- the schema for XML validation of application definitions.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.