net.refractions.udig.catalog
Interface ServiceExtension2
- All Superinterfaces:
- ServiceExtension
- All Known Implementing Classes:
- AbstractDataStoreServiceExtension
public interface ServiceExtension2
- extends ServiceExtension
Extends the ServiceExtension
interface to provide debug information about why it couldn't process
a URL or parameters.
- Since:
- 1.1.0
- Author:
- Jesse
Method Summary |
java.lang.String |
reasonForFailure(java.util.Map<java.lang.String,java.io.Serializable> params)
Returns a human consumable string explaining why the params cannot be used for creating a Service |
java.lang.String |
reasonForFailure(java.net.URL url)
Returns a human consumable string explaining why the url cannot be used for creating a Service |
reasonForFailure
java.lang.String reasonForFailure(java.util.Map<java.lang.String,java.io.Serializable> params)
- Returns a human consumable string explaining why the params cannot be used for creating a Service
- Parameters:
params
- params for trying to create a service
- Returns:
- a human consumable string explaining why the params cannot be used for creating a Service or null if a Service should be
able to be created using the params
reasonForFailure
java.lang.String reasonForFailure(java.net.URL url)
- Returns a human consumable string explaining why the url cannot be used for creating a Service
- Parameters:
url
- URL for trying to create a service
- Returns:
- a human consumable string explaining why the url cannot be used for creating a Service or null if a Service should be
able to be created using the URL