All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mule.samples.voipservice.interfaces.AddressValidation Maven / Gradle / Ivy

Go to download

The Voip Service example is taken from a Java.net featured article, Provisioning Services Through ESB (http://today.java.net/pub/a/today/2005/10/18/service-provisioning-through-esb.html) describes how to orchestrate services through abstraction, providing a VOIP provisioning example developed using Mule.

There is a newer version: 2.0.0-M2
Show newest version
/*
 * $Id: AddressValidation.java 7976 2007-08-21 14:26:13Z dirk.olmes $
 * --------------------------------------------------------------------------------------
 * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */

package org.mule.samples.voipservice.interfaces;

import org.mule.samples.voipservice.to.AddressTO;

import java.io.IOException;

/**
 * @author Binildas Christudas
 */
public interface AddressValidation
{

    int SUCCESS = 1;
    int FAILURE = -1;

    int validateAddress(AddressTO addressTO) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy