|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProviderHandle
This interface is used by providers to get information regarding the current request or to act as a client.
Field Summary | |
---|---|
static String |
PROP_CLIENTHOST
|
static String |
PROP_PRINCIPAL
|
static String |
PROP_ROLE
|
static String |
PROP_SERVERHOST
|
static String |
PROP_SERVERPORT
|
Method Summary | |
---|---|
void |
deliverEvent(CIMInstance indication)
Method used by indication providers to deliver indications to the CIM object manager. |
void |
deliverEvent(CIMInstance indication,
CIMObjectPath[] matchedFilterOps)
Method used by indication providers to deliver indications to the CIM object manager. |
void |
deliverIndication(CIMInstance indication,
CIMObjectPath[] listeners)
Method used by indication providers to deliver indications to the CIM object manager. |
AssociatorProvider |
getInternalAssociatorProvider()
Get the handle to an internal instance provider which can be used to traverse static association instances. |
InstanceProvider |
getInternalInstanceProvider()
Get the handle to an internal instance provider which can be used to store static instance information for the provider. |
String |
getProperty(String name)
Get a Property Value. |
Locale[] |
getRequestedLocales()
Get the ordered list of locales requested from the client. |
void |
setLocales(Locale[] pLocales)
This method is not supported from the ProviderHandle This method will always throw an UnsupportedOperationException |
void |
setProperty(String name,
String value)
This method is not supported from the ProviderHandle This method will always throw an IllegalArgumentException |
Field Detail |
---|
static final String PROP_CLIENTHOST
static final String PROP_PRINCIPAL
static final String PROP_ROLE
static final String PROP_SERVERHOST
static final String PROP_SERVERPORT
Method Detail |
---|
void deliverEvent(CIMInstance indication)
indication
- The actual indicationvoid deliverEvent(CIMInstance indication, CIMObjectPath[] matchedFilterOps)
indication
- The actual indicationmatchedFilterOps
- Array of object paths to the matched filters. If
an object path is null, it is ignored. If any filter is invalid, for
example, if it cannot be found, then the indication is not delivered to
any of the filters.void deliverIndication(CIMInstance indication, CIMObjectPath[] listeners)
indication
- The actual indicationlisteners
- Array of object paths that matched the CIM_ListenerDestination
instances to deliver the indications to.AssociatorProvider getInternalAssociatorProvider()
InstanceProvider getInternalInstanceProvider()
String getProperty(String name)
javax.wbem.provider.Role
The requested role to assume. This will be null if a role was not specified.javax.wbem.provider.Principal
The Principal (e.g. user name) that made this requestjavax.wbem.provider.ClientHost
The client host that this request came from. This could be in the form of a IP Address (IPV4 or IPV6) or the host name.javax.wbem.provider.ServerHost
The host that the WBEM Server is running. The WBEM Server may be running on a system that has multiple interfaces, but is only configured for one of the interfaces.javax.wbem.provider.ServerPort
The port that the WBEM Server is running.
getProperty
in interface WBEMClient
name
- The name of the property
Locale[] getRequestedLocales()
void setLocales(Locale[] pLocales)
setLocales
in interface WBEMClient
pLocales
- An array of locales in order of priority of preference.
UnsupportedOperationException
void setProperty(String name, String value)
setProperty
in interface WBEMClient
name
- The name of the propertyvalue
- The value of the property
IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |