01: /*
02: * $Id: BpmNamespaceHandler.java 10494 2008-01-23 21:09:56Z acooke $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10: package org.mule.transport.bpm.config;
11:
12: import org.mule.config.spring.handlers.AbstractMuleNamespaceHandler;
13: import org.mule.endpoint.URIBuilder;
14: import org.mule.transport.bpm.ProcessConnector;
15:
16: /**
17: * Registers a Bean Definition Parsers for the "bpm" namespace.
18: */
19: public class BpmNamespaceHandler extends AbstractMuleNamespaceHandler {
20:
21: public static final String PROCESS = "process";
22:
23: public void init() {
24: registerStandardTransportEndpoints(ProcessConnector.BPM,
25: new String[] { PROCESS }).addAlias(PROCESS,
26: URIBuilder.PATH);
27: registerConnectorDefinitionParser(ProcessConnector.class);
28: }
29:
30: }
|