|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IConnectionSpec is used by an application component to pass connection request-specific properties to the IConnectionFactory.getConnectionEx method. It is recommended that the IConnectionSpec interface be implemented as a JavaBean. The properties on the ConnectionSpec implementation class must be defined through the getter and setter methods pattern. The implementation of the IConnectionSpec must include a Map of IConnectionProperty properties. That includes the following ConnectionProperties: UserName, Password and Language (Using these specific names). The Language connection property holds the standard language string as defined in java.utils.Locale and NOT the back-end application (EIS) language string. The connector's developer has to translate these strings.
ConnectionSpec| Method Summary | |
Set |
getAllConnectionProperties()
Returns a set of pairs (entries) of names and values of IConnectionProperty objects For example ["User","name of a user"],["Password,"password value"]... |
Object |
getPropertyValue(String propertyName)
Get the value of one property |
IConnectionSpecMetaData |
retrieveConnectionSpecMetaData()
The interface IConnectionSpecMetaData defines the metadata of the properties that compose the ConnectionSpec |
void |
setPropertyValue(String propertyName,
Object propertyValue)
Set the value of one property |
| Method Detail |
public void setPropertyValue(String propertyName,
Object propertyValue)
propertyName - The name of the property to set value forpropertyValue - The new property valuepublic Object getPropertyValue(String propertyName)
propertyName - The name of the property to set value for
public IConnectionSpecMetaData retrieveConnectionSpecMetaData()
public Set getAllConnectionProperties()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||