org.sixdml.xindice
Class xiServiceBase
java.lang.Object
|
+--org.sixdml.xindice.xiServiceBase
- All Implemented Interfaces:
- Configurable, Service, SixdmlConstants
- Direct Known Subclasses:
- xiNamespaceAwareService, xiSixdmlCollectionManagementService, xiSixdmlStatementService, xiSixdmlTransactionService, xiXsltTransformService
- abstract class xiServiceBase
- extends Object
- implements Service, SixdmlConstants
Base class of all services in the org.sixdml.xindice hierarchy.
- Author:
- administrator
|
Field Summary |
protected Collection |
collection
The underlying collection object that provides the context for this service, if any. |
protected HashMap |
properties
This is the table of properties for the needed by the Configurable interface. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
collection
protected Collection collection
- The underlying collection object that provides the context for this service, if any.
properties
protected HashMap properties
- This is the table of properties for the needed by the
Configurable interface.
- See Also:
Configurable
xiServiceBase
xiServiceBase()
setCollection
public void setCollection(Collection col)
- Sets the Collection attribute of the Service object. Does nothing because transactions
exist across sessions and are not specific to collections.
- Specified by:
setCollection in interface Service
getName
public abstract String getName()
- Gets the name of the service.
- Specified by:
getName in interface Service
- Returns:
- the name of the service.
getVersion
public String getVersion()
- Gets the version of the service.
- Specified by:
getVersion in interface Service
- Returns:
- the version of the service.
getProperty
public String getProperty(String name)
- Returns the value of the property identified by name.
- Specified by:
getProperty in interface Configurable
- Returns:
- the value of the property or null if there is no matching value
for the key in hash table.
setProperty
public void setProperty(String name,
String value)
- Sets the property name to have the value provided in value.
- Specified by:
setProperty in interface Configurable
- Parameters:
name - the name of the property to set.value - the value to set for the property.