|
Oracle Application Server Integration B2B Callouts Java API Reference 10g Release 2 (10.1.2) B14417-01 November 2004 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CalloutContext interface contains methods for accessing callout and usage properties using a key and also methods for obtaining all callout / usage properties in a Map. This interface will be used to access the properties from a callout. Note: callout properties are defined at registration time and usage propreties are defined at modeling time.
Field Summary | |
static int |
BOOLEAN_VALUE |
static int |
FLOAT_VALUE |
static int |
INTEGER_VALUE |
static int |
STRING_VALUE Define some constants for the various primitive types of data |
Method Summary | |
java.util.Map |
getAllProperties() getAllProperties() returns a Map containing all properties |
java.lang.Boolean |
getBooleanProperty(java.lang.String key) getBooleanProperty() returns a Boolean object property with the specified key |
java.util.Map |
getCalloutProperties() getCalloutProperties() returns a Map containing all callout properties |
java.lang.Float |
getFloatProperty(java.lang.String key) getFloatProperty() returns a Float object property with the specified key |
java.lang.Integer |
getIntegerProperty(java.lang.String key) getIntegerProperty() returns an Integer object property with the specified key |
int |
getPropertyType(java.lang.String key) getPropertyType() returns the type of the property with the specified key |
java.lang.String |
getStringProperty(java.lang.String key) getStringProperty() returns a String object property with the specified key |
java.util.Map |
getUsageProperties() getUsageProperties() returns a Map containing all usage properties |
boolean |
isCalloutProperty(java.lang.String key) isCalloutProperty() returns a boolean if the property for the specified key is a callout property |
Field Detail |
public static final int STRING_VALUE
public static final int BOOLEAN_VALUE
public static final int INTEGER_VALUE
public static final int FLOAT_VALUE
Method Detail |
public boolean isCalloutProperty(java.lang.String key) throws CalloutDomainException
CalloutDomainException
- - when no property with that key existspublic int getPropertyType(java.lang.String key) throws CalloutDomainException
CalloutDomainException
- - when no property with that key existspublic java.lang.String getStringProperty(java.lang.String key) throws CalloutDomainException
CalloutDomainException
- - when no property with that key exists or a format error occurspublic java.lang.Boolean getBooleanProperty(java.lang.String key) throws CalloutDomainException
CalloutDomainException
- - when no property with that key exists or a format error occurspublic java.lang.Integer getIntegerProperty(java.lang.String key) throws CalloutDomainException
CalloutDomainException
- - when no property with that key exists or a format error occurspublic java.lang.Float getFloatProperty(java.lang.String key) throws CalloutDomainException
CalloutDomainException
- - when no property with that key exists or a format error occurspublic java.util.Map getCalloutProperties()
public java.util.Map getUsageProperties()
public java.util.Map getAllProperties()
|
Oracle Application Server Integration B2B Callouts Java API Reference 10g Release 2 (10.1.2) B14417-01 November 2004 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |