org.apache.oozie.service
Class WorkflowSchemaService

java.lang.Object
  extended by 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.


Field Summary
static String CONF_EXT_SCHEMAS
           
static String CONF_PREFIX
           
 
Fields inherited from interface org.apache.oozie.service.Service
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND
 
Constructor Summary
WorkflowSchemaService()
           
 
Method Summary
 void destroy()
          Destroy the service.
 Class<? extends Service> getInterface()
          Return the public interface of the service.
 Schema getSchema()
          Return the schema for XML validation of application definitions.
 void init(Services services)
          Initialize the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

WorkflowSchemaService

public WorkflowSchemaService()
Method Detail

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.