|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.sdp.messaging.AccessPointFactory
public class AccessPointFactory
Factory class to create AccessPoint
objects
for use with the Messaging API.
Sample usage:
AccessPoint accessPoint =
AccessPointFactory.createAccessPoint(AccessPoint.AccessPointType.SINGLE_ADDRESS, DeliveryType.EMAIL, "foo@bar.com");
Method Summary | |
---|---|
static AccessPoint |
createAccessPoint(AccessPoint.AccessPointType apType,
DeliveryType deliveryType,
java.lang.String value)
Create a new access point. |
static AccessPoint |
createAccessPoint(AccessPoint.AccessPointType apType,
DeliveryType deliveryType,
java.lang.String value,
java.lang.String keyword)
Create a new access point. |
static AccessPoint |
createAccessPoint(Address address)
Create a new access point from an Address object. |
static AccessPoint |
createAccessPoint(Address address,
java.lang.String keyword)
Create a new access point from an Address object. |
static List<java.lang.String> |
expandAccessPoint(AccessPoint accessPoint)
Utility method to generate a list containing the expanded set of addresses from an access point. |
static List<java.lang.String> |
expandAccessPoint(AccessPoint accessPoint,
boolean withKeyword)
Utility method to generate a list containing the expanded set of addresses from an access point, either with our without keywords included. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AccessPoint createAccessPoint(AccessPoint.AccessPointType apType, DeliveryType deliveryType, java.lang.String value)
apType
- the access point type.deliveryType
- the access point address delivery type.value
- the access point address value.
public static AccessPoint createAccessPoint(AccessPoint.AccessPointType apType, DeliveryType deliveryType, java.lang.String value, java.lang.String keyword)
apType
- the access point type.deliveryType
- the access point address delivery type.value
- the access point address value.keyword
- the access point keyword value. If a keyword is specified,
incoming messages will only match the access point if the first token of the
message's subject (if present) or text/plain part (if present) matches the
keyword.
public static AccessPoint createAccessPoint(Address address)
address
- an object of oracle.sdp.messaging.Address interface
public static AccessPoint createAccessPoint(Address address, java.lang.String keyword)
address
- an object of oracle.sdp.messaging.Address interfacekeyword
- the access point keyword value. If a keyword is specified,
incoming messages will only match the access point if the first token of the
message's subject (if present) or text/plain part (if present) matches the
keyword.
* @return an AccessPoint of type SINGLE_ADDRESS built from the input
address and keyword.public static List<java.lang.String> expandAccessPoint(AccessPoint accessPoint)
accessPoint
- the access point to expand
public static List<java.lang.String> expandAccessPoint(AccessPoint accessPoint, boolean withKeyword)
accessPoint
- the access point to expandwithKeyword
- flag indicating whether the access point keyword should be
included in the returned strings.
|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |