DynamicServiceExecutor
with a URL based
ServiceExtractor
instead.@Deprecated @Removal(version="3.11.0") public abstract class MarshallFileServiceStore extends MarshallServiceStore
log
Constructor and Description |
---|
MarshallFileServiceStore()
Deprecated.
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultFileName()
Deprecated.
|
java.lang.String |
getFileNamePrefix()
Deprecated.
Returns the (optional) prefix to prepend to the logical
Service name to create the name of the file to read. |
java.lang.String |
getFileNameSuffix()
Deprecated.
Returns the (optional) suffix to append to the logical
Service
name to create the name of the file to read. |
Service |
obtain(java.lang.String s)
Deprecated.
Returns the
Service stored against the passed logical
name if one exists in the store, otherwise null. |
void |
setDefaultFileName(java.lang.String s)
Deprecated.
Set the default filename that will be used if the file containing the
service list could not be found.
|
void |
setFileNamePrefix(java.lang.String s)
Deprecated.
Sets the (optional) prefix to prepend to the logical
Service
name to create the name of the file to read. |
void |
setFileNameSuffix(java.lang.String s)
Deprecated.
Sets the (optional) suffix to append to the logical
Service
name to create the name of the file to read. |
protected abstract Service |
unmarshal(java.lang.String s)
Deprecated.
Unmarshal the Service from the store.
|
currentMarshaller, getMarshaller, setMarshaller
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public MarshallFileServiceStore() throws CoreException
Creates a new instance. Default is no fileNameSuffix
and no
fileNamePrefix
.
CoreException
- wrapping any Exceptions which occurpublic java.lang.String getFileNameSuffix()
Returns the (optional) suffix to append to the logical Service
name to create the name of the file to read.
Service
name to create the name of the file to readpublic void setFileNameSuffix(java.lang.String s)
Sets the (optional) suffix to append to the logical Service
name to create the name of the file to read. May not be null.
s
- the (optional) suffix to append to the logical
Service
name to create the name of the file to readpublic java.lang.String getFileNamePrefix()
Returns the (optional) prefix to prepend to the logical
Service
name to create the name of the file to read. May not
be null.
Service
name to create the name of the file to readpublic void setFileNamePrefix(java.lang.String s)
Sets the (optional) prefix to prepend to the logical Service
name to create the name of the file to read. May not be null.
s
- the (optional) prefix to prepend to the logical
Service
name to create the name of the file to readpublic java.lang.String getDefaultFileName()
public void setDefaultFileName(java.lang.String s)
The fileNamePrefix and filenameSuffix will be added to the file before attempting to load it
s
- the defaultFileName to setServiceStore.obtain(String)
public Service obtain(java.lang.String s) throws CoreException
ServiceStore
Returns the Service
stored against the passed logical
name
if one exists in the store, otherwise null.
s
- the name of the Service
to obtainService
or null if it does not existCoreException
- wrapping any underlying ExceptionServiceStore.obtain(String)
protected abstract Service unmarshal(java.lang.String s) throws CoreException
s
- the name under which the service is stored.CoreException
- wrapping any underlying exceptions.