|
IBM WebSphere Multichannel Bank 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.DSENotifier
com.ibm.btt.base.Service
@ATTR(value={"id#String#REQUIRED","implClass#String#IMPLIED"}) public abstract class Service
Abstract parent class of all services.
Field Summary | |
---|---|
protected static Externalizer |
externalizer
|
protected java.lang.String |
name
|
Fields inherited from class com.ibm.btt.base.DSENotifier |
---|
handlersList |
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 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 com.ibm.btt.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 |
Methods inherited from interface com.ibm.btt.base.Externalizable |
---|
getName, setName |
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.String
java.io.IOException
Method 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.Tag
java.io.IOException
DSEException
public void readExternal() throws java.io.IOException
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
java.io.IOException
public static void setExternalizer(Externalizer ext)
ext
- com.ibm.dse.base.Externalizerpublic void terminate() throws DSEException
terminate
in interface Notifier
terminate
in class DSENotifier
DSEException
public java.lang.String toString()
toString
in class java.lang.Object
public Vector toStrings()
public Vector toTags() throws java.io.IOException
java.io.IOException
public void writeExternal() throws java.io.IOException
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
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |