wt.services.applicationcontext.implementation
Class WTServiceIdentifier

java.lang.Object
  extended bywt.services.applicationcontext.implementation.WTServiceIdentifier
All Implemented Interfaces:
Externalizable, Serializable

public class WTServiceIdentifier
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String REQUESTOR_NAME
          Label for the attribute; Class of object whos purpose is to identify a WTServiceInfo.
private  String requestorName
           
private static String RESOURCE
           
private  String selector
           
static String SELECTOR
          Label for the attribute.
(package private) static long serialVersionUID
           
static String SERVICE_NAME
          Label for the attribute.
private  String serviceName
           
private static String versionID
           
 
Constructor Summary
WTServiceIdentifier()
           
 
Method Summary
 String getRequestorName()
          Gets the value of the attribute: REQUESTOR_NAME.
 String getSelector()
          Gets the value of the attribute: SELECTOR.
 String getServiceName()
          Gets the value of the attribute: SERVICE_NAME.
 int hashCode()
          Override the hash code to be based on serviceName, requestorName and selector.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  void readOldVersion(ObjectInput input, long readSerialVersionUID)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  void setRequestorName(String a_RequestorName)
          Sets the value of the attribute: REQUESTOR_NAME.
protected  void setSelector(String a_Selector)
          Sets the value of the attribute: SELECTOR.
protected  void setServiceName(String a_ServiceName)
          Sets the value of the attribute: SERVICE_NAME.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

SERVICE_NAME

public static final String SERVICE_NAME
Label for the attribute.

See Also:
Constant Field Values

serviceName

private String serviceName

REQUESTOR_NAME

public static final String REQUESTOR_NAME
Label for the attribute; Class of object whos purpose is to identify a WTServiceInfo.

See Also:
Constant Field Values

requestorName

private String requestorName

SELECTOR

public static final String SELECTOR
Label for the attribute.

See Also:
Constant Field Values

selector

private String selector
Constructor Detail

WTServiceIdentifier

public WTServiceIdentifier()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readOldVersion

private void readOldVersion(ObjectInput input,
                            long readSerialVersionUID)
                     throws IOException,
                            ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
Throws:
IOException
ClassNotFoundException

getServiceName

public String getServiceName()
Gets the value of the attribute: SERVICE_NAME.

Returns:
String

setServiceName

protected void setServiceName(String a_ServiceName)
Sets the value of the attribute: SERVICE_NAME.

Parameters:
a_ServiceName -

getRequestorName

public String getRequestorName()
Gets the value of the attribute: REQUESTOR_NAME. Class of object whos purpose is to identify a WTServiceInfo.

Returns:
String

setRequestorName

protected void setRequestorName(String a_RequestorName)
Sets the value of the attribute: REQUESTOR_NAME. Class of object whos purpose is to identify a WTServiceInfo.

Parameters:
a_RequestorName -

getSelector

public String getSelector()
Gets the value of the attribute: SELECTOR.

Returns:
String

setSelector

protected void setSelector(String a_Selector)
Sets the value of the attribute: SELECTOR.

Parameters:
a_Selector -

hashCode

public int hashCode()
Override the hash code to be based on serviceName, requestorName and selector.

Returns:
int