Deprecated API

Contents

Deprecated Classes

GlobalProperties
Use the global properties instance offered by the SessionProperties class instead

Deprecated Methods

org.sblim.wbem.util.Benchmark.resetTime()
org.sblim.wbem.cim.CIMClass.setIsKeyed(boolean)
this method may lead to confusion.
org.sblim.wbem.client.CIMClient.invokeMethod(CIMObjectPath,String,CIMArgument[],CIMArgument[])
It is not recommended to use this method, since the number of output parameters may be extended by the CIM provider in the future.
org.sblim.wbem.client.CIMClientFactory.getClient(CIMNameSpace,Principal,Object,String)
Use getClient(CIMNameSpace, Principal, Object, String, SessionProperties) instead
org.sblim.wbem.client.operations.CIMGetClassOp.getPropertyLis()
Typo in method name.
org.sblim.wbem.cim.CIMInstance.getName()
instances don't have names.
org.sblim.wbem.cim.CIMMethod.setSize(int)
the current method has been deprecated because the size of the data type is unmutable.
org.sblim.wbem.cim.CIMNameSpace.parse(String)
The CIMNameSpace(String) constructor must be used instead of this method.
org.sblim.wbem.cim.CIMObjectPath.parse(String)
org.sblim.wbem.cim.CIMParameter.setSize(int)
Using this method can produce inconsitency and break invariants
org.sblim.wbem.cim.CIMProperty.setSize(int)
the size of the property is bounded to the CIMDataType, which is unmutable.
org.sblim.wbem.cim.CIMValue.size()
use getSize instead of size()
org.sblim.wbem.util.SessionProperties.getTruststore_password()
For security reasons instead of this method, char[] getTruststorePassword() should be used.
org.sblim.wbem.util.SessionProperties.setTruststore_password(String)
For security reasons this method should not be used.
org.sblim.wbem.util.SessionProperties.isDebugHttpConnectionPool()
This method is not used anywhere...
org.sblim.wbem.util.SessionProperties.setDebugHttpConnectionPool(boolean)
This method is never used at all...

Deprecated Constructors

org.sblim.wbem.cim.CIMDateTime.CIMDateTime(Calendar)
this constructor was marked as deprecated because the dual nature of this object.
org.sblim.wbem.cim.CIMDateTime.CIMDateTime(String)
this constructor was marked as deprecated because the dual nature of this object.
org.sblim.wbem.cim.CIMScope.CIMScope(int)
use getScope(int) instead
org.sblim.wbem.cim.CIMValue.CIMValue(Object)
this constructor may lead to confusion when the data type of the specified argument can not be determined, such as the case of null arguments.
org.sblim.wbem.client.PasswordCredential.PasswordCredential(String)
for security reason this class has been deprecated.

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.