|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.cimclient.internal.discovery.slp.WBEMServiceAdvertisementSLP
public class WBEMServiceAdvertisementSLP
Class WBEMServiceAdvertisementSLP is the SLP specific implementation if the WBEMServiceAdvertisement interface.
| Field Summary |
|---|
| Fields inherited from interface org.sblim.cimclient.discovery.WBEMServiceAdvertisement |
|---|
AUTH_MECH_DESC, AUTH_MECH_SUPP, CLASSINFO, COMM_MECHANISM, FUNCTIONAL_PROF_DESC, FUNCTIONAL_PROF_SUPP, INTEROP_NS, MULT_OPERATIONS_SUPP, NAMESPACE, OTHER_COMM_MECHN_DESC, PROTOCOL_VERSION, REG_PROF_SUPP, SERVICE_HI_DESC, SERVICE_HI_NAME, SERVICE_ID, TEMPLATE_DESCRIPTION, TEMPLATE_TYPE, TEMPLATE_URL_SYNTAX, TEMPLATE_VERSION |
| Constructor Summary | |
|---|---|
WBEMServiceAdvertisementSLP(java.lang.String pDA,
ServiceURL pUrl,
java.util.List<java.lang.String> pAttributes)
Ctor. |
|
| Method Summary | |
|---|---|
WBEMClient |
createClient(javax.security.auth.Subject pSubject,
java.util.Locale[] pLocales)
Creates a fully-initialized WBEMClient instance connected to the service that is subject of this advertisement. |
boolean |
equals(java.lang.Object pObj)
|
java.lang.String |
getAttribute(java.lang.String pAttributeName)
Return the attribute value for a given attribute name |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getAttributes()
Return the set of attributes of this advertisement |
java.lang.String |
getConcreteServiceType()
Returns the concrete service type. |
java.lang.String |
getDirectory()
Gets the URL of the directory from which this advertisement was received |
java.lang.String[] |
getInteropNamespaces()
Returns the interop namespaces |
java.lang.String |
getServiceId()
Returns the service id |
java.lang.String |
getServiceUrl()
Returns the service url, e.g. |
int |
hashCode()
|
boolean |
isExpired()
Returns the expiration state of the advertisement. |
void |
setExpired(boolean pExpired)
Sets the expirations state of the advertisement. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WBEMServiceAdvertisementSLP(java.lang.String pDA,
ServiceURL pUrl,
java.util.List<java.lang.String> pAttributes)
pDA - The Directory Agent from which this advertisement was receivedpUrl - The SLP service url returned by Locator.findServices().pAttributes - The attribute list (List<String>) where each entry looks
either like this key=value or this
(key=value).| Method Detail |
|---|
public java.lang.String getAttribute(java.lang.String pAttributeName)
WBEMServiceAdvertisement
getAttribute in interface WBEMServiceAdvertisementpAttributeName - The attribute name
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> getAttributes()
WBEMServiceAdvertisement
getAttributes in interface WBEMServiceAdvertisementpublic java.lang.String getConcreteServiceType()
WBEMServiceAdvertisementservice:wbem:https this method would return
https.
getConcreteServiceType in interface WBEMServiceAdvertisementpublic java.lang.String getServiceUrl()
WBEMServiceAdvertisement
getServiceUrl in interface WBEMServiceAdvertisement
public WBEMClient createClient(javax.security.auth.Subject pSubject,
java.util.Locale[] pLocales)
throws java.lang.Exception
WBEMServiceAdvertisement
createClient in interface WBEMServiceAdvertisementpSubject - The credential for authenticating with the servicepLocales - An array of locales ordered by preference
java.lang.Exceptionpublic java.lang.String getDirectory()
WBEMServiceAdvertisement
getDirectory in interface WBEMServiceAdvertisementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String[] getInteropNamespaces()
WBEMServiceAdvertisement
getInteropNamespaces in interface WBEMServiceAdvertisementpublic java.lang.String getServiceId()
WBEMServiceAdvertisement
getServiceId in interface WBEMServiceAdvertisementpublic boolean isExpired()
WBEMServiceAdvertisement
isExpired in interface WBEMServiceAdvertisementtrue when advertisement is expired.public void setExpired(boolean pExpired)
WBEMServiceAdvertisement
setExpired in interface WBEMServiceAdvertisementpExpired - The new valuepublic boolean equals(java.lang.Object pObj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||