|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.applicationcontext.implementation.WTServiceInfo
Service information used to identify and manufacture requested services.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
contextName
|
private int |
priority
|
private String |
requestorName
|
private static String |
RESOURCE
|
private String |
selector
|
private String |
serviceImplementationName
|
private String |
serviceName
|
private boolean |
singleton
|
static String |
SVC_SINGLETON
Supported API: false |
private String |
type
|
static String |
TYPE_RSC
Supported API: false |
static String |
TYPE_SVC
Supported API: false |
Constructor Summary | |
WTServiceInfo(String contextName,
String requestorName,
String serviceName,
int priority,
boolean singleton,
String serviceImplementationName,
String selector)
Example: new WTServiceInfo( "default", "wt.doc.Document", "wt.doc.DocumentService", 0, false, "wt.doc.StandardDocumentService" Supported API: false |
|
WTServiceInfo(String type,
String contextName,
String requestorName,
String serviceName,
int priority,
boolean singleton,
String serviceImplementationName,
String selector)
Supported API: false |
Method Summary | |
boolean |
equals(Object other)
Supported API: false |
String |
getContextName()
Gets the value of the attribute: contextName; Name of the context to which this service entry applies. |
int |
getPriority()
Gets the value of the attribute: priority; It is possible that a request for a service which includes the service-name, requestor, and selector may be ambiguous. |
String |
getRequestorName()
Gets the value of the attribute: requestorName; The name of the requestor to which this service information entry applies. |
String |
getSelector()
Gets the value of the attribute: selector. |
String |
getServiceImplementationName()
Gets the value of the attribute: serviceImplementationName; The name of the service implementation to be used for this entry. |
String |
getServiceName()
Gets the value of the attribute: serviceName; The logical service name. |
String |
getType()
Gets the value of the attribute: type. |
boolean |
isSingleton()
Gets the value of the attribute: singleton; Indicates that only one instance of the object should be manufactured. |
protected void |
setContextName(String a_ContextName)
Sets the value of the attribute: contextName; Name of the context to which this service entry applies. |
protected void |
setPriority(int a_Priority)
Sets the value of the attribute: priority; It is possible that a request for a service which includes the service-name, requestor, and selector may be ambiguous. |
protected void |
setRequestorName(String a_RequestorName)
Sets the value of the attribute: requestorName; The name of the requestor to which this service information entry applies. |
protected void |
setSelector(String a_Selector)
Sets the value of the attribute: selector. |
protected void |
setServiceImplementationName(String a_ServiceImplementationName)
Sets the value of the attribute: serviceImplementationName; The name of the service implementation to be used for this entry. |
protected void |
setServiceName(String a_ServiceName)
Sets the value of the attribute: serviceName; The logical service name. |
protected void |
setSingleton(boolean a_Singleton)
Sets the value of the attribute: singleton; Indicates that only one instance of the object should be manufactured. |
protected void |
setType(String a_Type)
Sets the value of the attribute: type. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String type
private String contextName
private String requestorName
private String serviceName
private int priority
private String serviceImplementationName
private boolean singleton
private String selector
public static final String TYPE_SVC
public static final String TYPE_RSC
public static final String SVC_SINGLETON
Constructor Detail |
public WTServiceInfo(String contextName, String requestorName, String serviceName, int priority, boolean singleton, String serviceImplementationName, String selector)
contextName
- The name of the context in which this service applies.requestorName
- The name of the class of the service requestor (target).serviceName
- The class name of the logical service.priority
- The order in which entries for the same logical service should be searched. Larger numbers are searched first.singleton
- Indicates whether a singleton should be returned for a getService operation. If false a new copy of the service is generated on each call.serviceImplementationName
- The class name of the service implementation.selector
- public WTServiceInfo(String type, String contextName, String requestorName, String serviceName, int priority, boolean singleton, String serviceImplementationName, String selector)
type
- contextName
- requestorName
- serviceName
- priority
- singleton
- serviceImplementationName
- selector
- Method Detail |
public String getType()
protected void setType(String a_Type)
a_Type
- public String getContextName()
protected void setContextName(String a_ContextName)
a_ContextName
- public String getRequestorName()
protected void setRequestorName(String a_RequestorName)
a_RequestorName
- public String getServiceName()
protected void setServiceName(String a_ServiceName)
a_ServiceName
- public int getPriority()
protected void setPriority(int a_Priority)
a_Priority
- public String getServiceImplementationName()
protected void setServiceImplementationName(String a_ServiceImplementationName)
a_ServiceImplementationName
- public boolean isSingleton()
protected void setSingleton(boolean a_Singleton)
a_Singleton
- public String getSelector()
protected void setSelector(String a_Selector)
a_Selector
- public boolean equals(Object other)
other
- The other object to compare for equality. Value based equality is used for WTServiceInfo objects.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |