Part VIII Appendixes
Available Public Methods
There are a number of public methods that can be used to access attributes in the retrieved
Delivery Context:
Public Methods
API Call
getIntAttribute()
getLiteralAttribute()
getbooleanAttribute()
getURIAttribute()
getRationalAttribute()
getDimensionAttribute()
getSequenceAttribute()
GetBagAttribute()
getAttribute()
getAttribute()
getAttribute()
getAttribute()
getAttribute()
getAttribute()
getAttribute()
getAttribute()
The methods listed here have either one or two parameters: an attribute name or an attribute name
and a default to return in the event that no value is available.
Example
GetIntAttributes("MaxWapDeckSize");
GetIntAttribute("MaxWapDeckSize", 1400);
Handle Exceptions
There are four exceptions that can be thrown when using the methods listed in the preceding
table. It is considered good practice to place try – catch blocks around these method calls.
196 - BEA WebLogic Mobility Server User Guide
Attribute DataType
Integer
Literal
Boolean
URI
Rational
Dimension
Sequence
Bag
Integer
Literal
Boolean
URI
Rational
Dimension
Sequence
Bag
Java Type Returned
int
String
Boolean
String
double
Dimension
List
Set
String
String
String
String
String
String
String
String
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?