Skip navigation links

Oracle Fusion Middleware B2B Callout Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)

E18157-07


oracle.tip.b2b.callout
Interface CalloutContext


public interface CalloutContext

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

STRING_VALUE

static final int STRING_VALUE
Define some constants for the various primitive types of data
See Also:
Constant Field Values

BOOLEAN_VALUE

static final int BOOLEAN_VALUE
See Also:
Constant Field Values

INTEGER_VALUE

static final int INTEGER_VALUE
See Also:
Constant Field Values

FLOAT_VALUE

static final int FLOAT_VALUE
See Also:
Constant Field Values

Method Detail

isCalloutProperty

boolean isCalloutProperty(java.lang.String key)
                          throws B2BDomainException
isCalloutProperty() returns a boolean if the property for the specified key is a callout property
Parameters:
String - key - the key for the property
Returns:
boolean - true if it is a callout property
Throws:
B2BDomainException - - when no property with that key exists

getPropertyType

int getPropertyType(java.lang.String key)
                    throws B2BDomainException
getPropertyType() returns the type of the property with the specified key
Parameters:
String - key - the key for the property
Returns:
int - the type of the callout property (STRING_VALUE, INTEGER_VALUE etc.)
Throws:
B2BDomainException - - when no property with that key exists

getStringProperty

java.lang.String getStringProperty(java.lang.String key)
                                   throws B2BDomainException
getStringProperty() returns a String object property with the specified key
Parameters:
String - key - the key for the property
Returns:
String - the value of the property
Throws:
B2BDomainException - - when no property with that key exists or a format error occurs

getBooleanProperty

java.lang.Boolean getBooleanProperty(java.lang.String key)
                                     throws B2BDomainException
getBooleanProperty() returns a Boolean object property with the specified key
Parameters:
String - key - the key for the property
Returns:
Boolean - the value of the property
Throws:
B2BDomainException - - when no property with that key exists or a format error occurs

getIntegerProperty

java.lang.Integer getIntegerProperty(java.lang.String key)
                                     throws B2BDomainException
getIntegerProperty() returns an Integer object property with the specified key
Parameters:
String - key - the key for the property
Returns:
Integer - the value of the property
Throws:
B2BDomainException - - when no property with that key exists or a format error occurs

getFloatProperty

java.lang.Float getFloatProperty(java.lang.String key)
                                 throws B2BDomainException
getFloatProperty() returns a Float object property with the specified key
Parameters:
String - key - the key for the property
Returns:
Float - the value of the property
Throws:
B2BDomainException - - when no property with that key exists or a format error occurs

getCalloutProperties

java.util.Map getCalloutProperties()
getCalloutProperties() returns a Map containing all callout properties
Returns:
Map - containing all callout properties

getUsageProperties

java.util.Map getUsageProperties()
getUsageProperties() returns a Map containing all usage properties
Returns:
Map - containing all callout properties

getAllProperties

java.util.Map getAllProperties()
getAllProperties() returns a Map containing all properties
Returns:
Map - containing all callout properties

Skip navigation links

Oracle Fusion Middleware B2B Callout Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)

E18157-07


Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.