public abstract class URLFactory extends Object
Constructor and Description |
---|
URLFactory() |
Modifier and Type | Method and Description |
---|---|
static URL |
createURL(String url)
Creates an URL object from the specified string.
|
static URL |
createURL(String sagaFactoryClassname,
String url)
Creates an URL object from the specified string.
|
protected abstract URL |
doCreateURL(String url) |
protected abstract URL doCreateURL(String url) throws BadParameterException, NoSuccessException
public static URL createURL(String url) throws BadParameterException, NoSuccessException
url
- the URL as a string.BadParameterException
- is thrown when there is a syntax error in the parameter.NoSuccessException
- is thrown if the implementation cannot create valid
default values based on the available information.public static URL createURL(String sagaFactoryClassname, String url) throws BadParameterException, NoSuccessException
sagaFactoryClassname
- the class name of the Saga factory to be used.url
- the URL as a string.BadParameterException
- is thrown when there is a syntax error in the parameter.NoSuccessException
- is thrown if the implementation cannot create valid
default values based on the available information.Copyright © 2016 Open Grid Forum. All rights reserved.