|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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 | |
java.util.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"]... |
java.lang.Object |
getPropertyValue(java.lang.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(java.lang.String propertyName,
java.lang.Object propertyValue)
Set the value of one property |
| Method Detail |
public void setPropertyValue(java.lang.String propertyName,
java.lang.Object propertyValue)
propertyName - The name of the property to set value forpropertyValue - The new property valuepublic java.lang.Object getPropertyValue(java.lang.String propertyName)
propertyName - The name of the property to set value forpublic IConnectionSpecMetaData retrieveConnectionSpecMetaData()
public java.util.Set getAllConnectionProperties()
|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||