|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectionSpec
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<Map.Entry<String,Object>> |
getAllConnectionProperties()
Returns a set of pairs (entries) of names and values of IConnectionProperty objects For example ["User","myUser"],["Password,"myPassword"]... |
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 |
|---|
void setPropertyValue(String propertyName,
Object propertyValue)
propertyName - the name of the property to set value forpropertyValue - the new property valueObject getPropertyValue(String propertyName)
propertyName - the name of the property to set value for
IConnectionSpecMetaData retrieveConnectionSpecMetaData()
Set<Map.Entry<String,Object>> getAllConnectionProperties()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
default
|
EP-CON-CF
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
-
|
EP-CON-CF
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/connectivityfw/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||