|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.DSENotifier | +--com.ibm.dse.base.Service
Abstract parent class of all services.
Field Summary | |
protected static Externalizer |
externalizer
|
Fields inherited from class com.ibm.dse.base.DSENotifier |
handlersList,
name |
Constructor Summary | |
Service()
Service default constructor. |
|
Service(java.lang.String aName)
Constructs a Service instance with a name attribute set to aName. |
Method Summary | |
Externalizer |
externalizer()
Gets the externalizer attribute value set to a ServiceExternalizer instance. |
static Externalizer |
getExternalizer()
Gets the ServiceExternalizer. |
java.lang.String |
getTagName()
Gets a tag name. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes the Service reading its attributes values from aTag. |
void |
readExternal()
Initializes the Service with the attributes set in the external services definition file. |
void |
readExternal(java.io.ObjectInput s)
Invokes the object creation from an ObjectInput. |
static java.lang.Object |
readObject(java.lang.String name)
Invokes the services externalizer to read the object with the specified name from the external definition file. |
void |
removeExternal()
Removes the tags for the Service instance that were previously read from the external file that keeps the service definition. |
static void |
setExternalizer(Externalizer ext)
Sets the externalizer attribute value to a ServiceExternalizer. |
void |
terminate()
Housekeeping process for the service instance. |
java.lang.String |
toString()
Returns an SGML representation of this Service. |
Vector |
toStrings()
Returns a Vector containing an SGML representation of this Service. |
Vector |
toTags()
Returns a Vector with the Service represented by tags. |
void |
writeExternal()
Writes the Service instance converted to tags in a file. |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for Service. |
Methods inherited from class com.ibm.dse.base.DSENotifier |
addHandler,
getHandlersList,
getName,
removeHandler,
setName,
signalEvent,
signalEvent,
signalEvent |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected static Externalizer externalizer
Constructor Detail |
public Service()
public Service(java.lang.String aName) throws java.io.IOException
aName
- java.lang.StringMethod Detail |
public Externalizer externalizer()
public static Externalizer getExternalizer()
public java.lang.String getTagName()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
aTag
- com.ibm.dse.base.Tagpublic void readExternal() throws java.io.IOException
public void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
s
- java.io.ObjectInputpublic static java.lang.Object readObject(java.lang.String name) throws java.io.IOException
name
- java.lang.Stringpublic void removeExternal() throws java.io.IOException
public static void setExternalizer(Externalizer ext)
ext
- com.ibm.dse.base.Externalizerpublic void terminate() throws DSEException
public java.lang.String toString()
public Vector toStrings()
public Vector toTags() throws java.io.IOException
public void writeExternal() throws java.io.IOException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
s
- java.io.ObjectOutput
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |