|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.Service
Abstract parent class of all services.
Field Summary | |
---|---|
protected static Externalizer |
externalizer
|
protected java.lang.String |
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 |
getName()
Gets the name attribute value. |
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 |
setName(java.lang.String aName)
Sets the notifier name to aName |
void |
terminate()
Housekeeping process for the service instance. |
java.lang.String |
toString()
Returns an XML representation of this Service. |
Vector |
toStrings()
Returns a Vector containing an XML 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static Externalizer externalizer
protected java.lang.String name
Constructor Detail |
public Service()
public Service(java.lang.String aName) throws java.io.IOException
aName
- java.lang.StringMethod Detail |
public Externalizer externalizer()
externalizer
in interface Externalizable
public static Externalizer getExternalizer()
public java.lang.String getTagName()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
initializeFrom
in interface Externalizable
aTag
- com.ibm.dse.base.Tag
java.io.IOException
DSEException
public void readExternal() throws java.io.IOException
readExternal
in interface Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
s
- java.io.ObjectInput
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.Object readObject(java.lang.String name) throws java.io.IOException
name
- java.lang.String
java.io.IOException
public void removeExternal() throws java.io.IOException
removeExternal
in interface Externalizable
java.io.IOException
public static void setExternalizer(Externalizer ext)
ext
- com.ibm.dse.base.Externalizerpublic void terminate() throws DSEException
DSEException
public java.lang.String toString()
public Vector toStrings()
toStrings
in interface Externalizable
public Vector toTags() throws java.io.IOException
toTags
in interface Externalizable
java.io.IOException
public void writeExternal() throws java.io.IOException
writeExternal
in interface Externalizable
java.io.IOException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
s
- java.io.ObjectOutput
java.io.IOException
public java.lang.String getName()
getName
in interface Externalizable
public void setName(java.lang.String aName)
setName
in interface Externalizable
aName
- java.lang.String
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |