wt.services.ac.impl
Class DefaultServiceDescriptor

java.lang.Object
  extended bywt.services.ac.impl.DefaultServiceDescriptor
All Implemented Interfaces:
Externalizable, Serializable, ServiceDescriptor

public final class DefaultServiceDescriptor
extends Object
implements ServiceDescriptor, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  int cardinality
           
static String CARDINALITY
          Label for the attribute.
private static String CLASSNAME
           
static String CONTEXT_NAME
          Label for the attribute.
private  String contextName
           
static int DUPLICATE_CARDINALITY
          

Supported API: false
static String ENTRY_TYPE
          Label for the attribute.
private  int entryType
           
static long EXTERNALIZATION_VERSION_UID
           
private  Object implementation
           
static String IMPLEMENTATION
          Label for the attribute.
private  int priority
           
static String PRIORITY
          Label for the attribute.
static String REQUESTOR_NAME
          Label for the attribute.
private  String requestorName
           
private static String RESOURCE
           
static int RESOURCE_ENTRY_TYPE
          

Supported API: false
private  Object selector
           
static String SELECTOR
          Label for the attribute.
(package private) static long serialVersionUID
           
static int SERVICE_ENTRY_TYPE
          

Supported API: false
static String SERVICE_NAME
          Label for the attribute.
private  String serviceName
           
static int SINGLETON_CARDINALITY
          

Supported API: false
 
Constructor Summary
DefaultServiceDescriptor()
           
 
Method Summary
private  void contextNameValidate(String a_ContextName)
           
 int getCardinality()
          Gets the value of the attribute: CARDINALITY.
 String getContextName()
          Gets the value of the attribute: CONTEXT_NAME.
 int getEntryType()
          Gets the value of the attribute: ENTRY_TYPE.
 Object getImplementation()
          Gets the value of the attribute: IMPLEMENTATION.
 int getPriority()
          Gets the value of the attribute: PRIORITY.
 String getRequestorName()
          Gets the value of the attribute: REQUESTOR_NAME.
 Object getSelector()
          Gets the value of the attribute: SELECTOR.
 String getServiceName()
          Gets the value of the attribute: SERVICE_NAME.
 boolean isDuplicateCardinality()
          

Supported API: false
 boolean isResourceEntry()
          

Supported API: false
 boolean isServiceEntry()
          

Supported API: false
 boolean isSingletonCardinality()
          

Supported API: false
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  void requestorNameValidate(String a_RequestorName)
           
private  void serviceNameValidate(String a_ServiceName)
           
 void setCardinality(int a_Cardinality)
          Sets the value of the attribute: CARDINALITY.
 void setContextName(String a_ContextName)
          Sets the value of the attribute: CONTEXT_NAME.
 void setEntryType(int a_EntryType)
          Sets the value of the attribute: ENTRY_TYPE.
 void setImplementation(Object a_Implementation)
          Sets the value of the attribute: IMPLEMENTATION.
 void setPriority(int a_Priority)
          Sets the value of the attribute: PRIORITY.
 void setRequestorName(String a_RequestorName)
          Sets the value of the attribute: REQUESTOR_NAME.
 void setSelector(Object a_Selector)
          Sets the value of the attribute: SELECTOR.
 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, hashCode, 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

SERVICE_ENTRY_TYPE

public static final int SERVICE_ENTRY_TYPE


Supported API: false

See Also:
Constant Field Values

RESOURCE_ENTRY_TYPE

public static final int RESOURCE_ENTRY_TYPE


Supported API: false

See Also:
Constant Field Values

DUPLICATE_CARDINALITY

public static final int DUPLICATE_CARDINALITY


Supported API: false

See Also:
Constant Field Values

SINGLETON_CARDINALITY

public static final int SINGLETON_CARDINALITY


Supported API: false

See Also:
Constant Field Values

CARDINALITY

public static final String CARDINALITY
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

cardinality

private int cardinality

CONTEXT_NAME

public static final String CONTEXT_NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

contextName

private String contextName

ENTRY_TYPE

public static final String ENTRY_TYPE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

entryType

private int entryType

IMPLEMENTATION

public static final String IMPLEMENTATION
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

implementation

private Object implementation

PRIORITY

public static final String PRIORITY
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

priority

private int priority

REQUESTOR_NAME

public static final String REQUESTOR_NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

requestorName

private String requestorName

SELECTOR

public static final String SELECTOR
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

selector

private Object selector

SERVICE_NAME

public static final String SERVICE_NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

serviceName

private String serviceName

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

DefaultServiceDescriptor

public DefaultServiceDescriptor()
Method Detail

writeExternal

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

Supported API: false

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.

Supported API: false

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

getCardinality

public int getCardinality()
Gets the value of the attribute: CARDINALITY.

Supported API: false

Returns:
int

setCardinality

public void setCardinality(int a_Cardinality)
                    throws WTPropertyVetoException
Sets the value of the attribute: CARDINALITY.

Supported API: false

Parameters:
a_Cardinality -
Throws:
WTPropertyVetoException

getContextName

public String getContextName()
Gets the value of the attribute: CONTEXT_NAME.

Supported API: false

Specified by:
getContextName in interface ServiceDescriptor
Returns:
String

setContextName

public void setContextName(String a_ContextName)
                    throws WTPropertyVetoException
Sets the value of the attribute: CONTEXT_NAME.

Supported API: false

Parameters:
a_ContextName -
Throws:
WTPropertyVetoException

contextNameValidate

private void contextNameValidate(String a_ContextName)
                          throws WTPropertyVetoException
Parameters:
a_ContextName -
Throws:
WTPropertyVetoException

getEntryType

public int getEntryType()
Gets the value of the attribute: ENTRY_TYPE.

Supported API: false

Returns:
int

setEntryType

public void setEntryType(int a_EntryType)
                  throws WTPropertyVetoException
Sets the value of the attribute: ENTRY_TYPE.

Supported API: false

Parameters:
a_EntryType -
Throws:
WTPropertyVetoException

getImplementation

public Object getImplementation()
Gets the value of the attribute: IMPLEMENTATION.

Supported API: false

Specified by:
getImplementation in interface ServiceDescriptor
Returns:
Object

setImplementation

public void setImplementation(Object a_Implementation)
                       throws WTPropertyVetoException
Sets the value of the attribute: IMPLEMENTATION.

Supported API: false

Parameters:
a_Implementation -
Throws:
WTPropertyVetoException

getPriority

public int getPriority()
Gets the value of the attribute: PRIORITY.

Supported API: false

Returns:
int

setPriority

public void setPriority(int a_Priority)
                 throws WTPropertyVetoException
Sets the value of the attribute: PRIORITY.

Supported API: false

Parameters:
a_Priority -
Throws:
WTPropertyVetoException

getRequestorName

public String getRequestorName()
Gets the value of the attribute: REQUESTOR_NAME.

Supported API: false

Specified by:
getRequestorName in interface ServiceDescriptor
Returns:
String

setRequestorName

public void setRequestorName(String a_RequestorName)
                      throws WTPropertyVetoException
Sets the value of the attribute: REQUESTOR_NAME.

Supported API: false

Parameters:
a_RequestorName -
Throws:
WTPropertyVetoException

requestorNameValidate

private void requestorNameValidate(String a_RequestorName)
                            throws WTPropertyVetoException
Parameters:
a_RequestorName -
Throws:
WTPropertyVetoException

getSelector

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

Supported API: false

Specified by:
getSelector in interface ServiceDescriptor
Returns:
Object

setSelector

public void setSelector(Object a_Selector)
Sets the value of the attribute: SELECTOR.

Supported API: false

Parameters:
a_Selector -

getServiceName

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

Supported API: false

Specified by:
getServiceName in interface ServiceDescriptor
Returns:
String

setServiceName

public void setServiceName(String a_ServiceName)
                    throws WTPropertyVetoException
Sets the value of the attribute: SERVICE_NAME.

Supported API: false

Parameters:
a_ServiceName -
Throws:
WTPropertyVetoException

serviceNameValidate

private void serviceNameValidate(String a_ServiceName)
                          throws WTPropertyVetoException
Parameters:
a_ServiceName -
Throws:
WTPropertyVetoException

isResourceEntry

public boolean isResourceEntry()


Supported API: false

Returns:
boolean

isServiceEntry

public boolean isServiceEntry()


Supported API: false

Returns:
boolean

isDuplicateCardinality

public boolean isDuplicateCardinality()


Supported API: false

Returns:
boolean

isSingletonCardinality

public boolean isSingletonCardinality()


Supported API: false

Returns:
boolean