|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WBEMServiceAdvertisement
Interface WBEMServiceAdvertisement is encapsulates the information collected about a service during discovery. The DMTF specifies a set a attributes that each service must advertise. These attributes are found as string constants in this interface and the method getAttribute() is offered to get an attribute by name. This design was chosen because the set of attributes might be extended by DMTF and vendor implementations. It's also unclear if upcoming new discovery protocols will have the same set of attributes as SLP.
Field Summary | |
---|---|
static String |
AUTH_MECH_DESC
AuthenticationMechansimDescriptions (string, literal, multiple, optional): Defines other Authentication mechanisms supported by the CIM Object Manager in the case where the "Other" value is set in any of the AuthenticationMechanismSupported attribute values. |
static String |
AUTH_MECH_SUPP
AuthenticationMechanismsSupported (string, literal, multiple): Defines the authentication mechanism supported by the CIM Object Manager. |
static String |
CLASSINFO
Classinfo (string, multiple, optional): This attributes is optional but if used, the values MUST be the CIM_Namespace.Classinfo property value. |
static String |
COMM_MECHANISM
CommunicationMechanism (string, literal): The communication mechanism (protocol) used by the CIM Object Manager for this service-location-tcp defined in this advertisement. |
static String |
FUNCTIONAL_PROF_DESC
FunctionalProfileDescriptions (string, literal, multiple, optional): Other profile description if the "other" value is set in the ProfilesSupported attribute. |
static String |
FUNCTIONAL_PROF_SUPP
FunctionalProfilesSupported (string, literal, multiple): ProfilesSupported defines the CIM Operation profiles supported by the CIM Object Manager. |
static String |
INTEROP_NS
InteropSchemaNamespace (string, literal, multiple): Namespace within the target WBEM Server where the CIM Interop Schema can be accessed. |
static String |
MULT_OPERATIONS_SUPP
MultipleOperationsSupported (boolean): Defines whether the CIM Object Manager supports batch operations. |
static String |
NAMESPACE
Namespace (string, literal, multiple, optional): Namespace(s) supported on the CIM Object Manager. |
static String |
OTHER_COMM_MECHN_DESC
OtherCommunicationMechanismDescription (string, literal, optional): The other communication mechanism defined for the CIM Server in the case the "Other" value is set in the CommunicationMechanism string. |
static String |
PROTOCOL_VERSION
ProtocolVersion (string, literal, optional): The version of the protocol. |
static String |
REG_PROF_SUPP
RegisteredProfilesSupported (string, literal, multiple): RegisteredProfilesSupported defines the Profiles that this WBEM Server has support for. |
static String |
SERVICE_HI_DESC
service-hi-description (string, optional): This string is used as a description of the CIM service for human interfaces.This attribute MUST be the CIM_ObjectManager.Description property value. |
static String |
SERVICE_HI_NAME
service-hi-name (string, optional): This string is used as a name of the CIM service for human interfaces. |
static String |
SERVICE_ID
service-id (string, literal): The ID of this WBEM Server. |
static String |
TEMPLATE_DESCRIPTION
template-description (string): A description of the service suitable for inclusion in text read by people. |
static String |
TEMPLATE_TYPE
template-type (string): The scheme name of the service scheme. |
static String |
TEMPLATE_URL_SYNTAX
template-url-syntax (string): The template-url-syntax MUST be the WBEM URI Mapping of the location of one service access point offered by the WBEM Server over TCP transport. |
static String |
TEMPLATE_VERSION
template-version (string): The version number of the service type specification. |
Method Summary | |
---|---|
WBEMClient |
createClient(Subject pSubject,
Locale[] pLocales)
Creates a fully-initialized WBEMClient instance connected to the service that is subject of this advertisement. |
String |
getAttribute(String pAttributeName)
Return the attribute value for a given attribute name |
Set<Map.Entry<String,String>> |
getAttributes()
Return the set of attributes of this advertisement |
String |
getConcreteServiceType()
Returns the concrete service type. |
String |
getDirectory()
Gets the URL of the directory from which this advertisement was received |
String[] |
getInteropNamespaces()
Returns the interop namespaces |
String |
getServiceId()
Returns the service id |
String |
getServiceUrl()
Returns the service url, e.g. |
boolean |
isExpired()
Returns the expiration state of the advertisement. |
void |
setExpired(boolean pExpired)
Sets the expirations state of the advertisement. |
Field Detail |
---|
static final String TEMPLATE_TYPE
static final String TEMPLATE_VERSION
static final String TEMPLATE_DESCRIPTION
static final String TEMPLATE_URL_SYNTAX
(template-url-syntax=https://localhost:5989)
- See Also:
- Constant Field Values
static final String SERVICE_HI_NAME
static final String SERVICE_HI_DESC
static final String SERVICE_ID
static final String COMM_MECHANISM
"Unknown", "Other", "cim-xml"
static final String OTHER_COMM_MECHN_DESC
static final String INTEROP_NS
static final String PROTOCOL_VERSION
static final String FUNCTIONAL_PROF_SUPP
"Unknown", "Other", "Basic Read", "Basic Write",
"Schema Manipulation", "Instance Manipulation",
"Association Traversal", "Query Execution",
"Qualifier Declaration", "Indications"
static final String FUNCTIONAL_PROF_DESC
static final String MULT_OPERATIONS_SUPP
static final String AUTH_MECH_SUPP
"Unknown", "None", "Other", "Basic", "Digest"
static final String AUTH_MECH_DESC
static final String NAMESPACE
static final String CLASSINFO
static final String REG_PROF_SUPP
DMTF:CIM Server
DMTF:CIM Server:Protocol Adapter
DMTF:CIM Server:Provider Registration
Method Detail |
---|
String getDirectory()
String getConcreteServiceType()
service:wbem:https
this method would return
https
.
String[] getInteropNamespaces()
String getServiceUrl()
String getAttribute(String pAttributeName)
pAttributeName
- The attribute name
Set<Map.Entry<String,String>> getAttributes()
String getServiceId()
boolean isExpired()
true
when advertisement is expired.void setExpired(boolean pExpired)
pExpired
- The new valueWBEMClient createClient(Subject pSubject, Locale[] pLocales) throws Exception
pSubject
- The credential for authenticating with the servicepLocales
- An array of locales ordered by preference
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |