Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging
Class AccessPointFactory

java.lang.Object
  extended by oracle.sdp.messaging.AccessPointFactory

Deprecated. Use MessagingFactory instead

@Deprecated
public class AccessPointFactory
extends java.lang.Object

Factory class to create AccessPoint objects for use with the Messaging API.

Sample usage:

Since:
11.0.0

Method Summary
static AccessPoint createAccessPoint(AccessPoint.AccessPointType apType, DeliveryType deliveryType, java.lang.String value)
          Deprecated. Use MessagingFactory.createAccessPoint(AccessPoint.AccessPointType,DeliveryType,String) instead
static AccessPoint createAccessPoint(AccessPoint.AccessPointType apType, DeliveryType deliveryType, java.lang.String value, java.lang.String keyword)
          Deprecated. Use MessagingFactory.createAccessPoint(AccessPoint.AccessPointType,DeliveryType,String,String) instead
static AccessPoint createAccessPoint(Address address)
          Deprecated. Use MessagingFactory.createAccessPoint(Address) instead
static AccessPoint createAccessPoint(Address address, java.lang.String keyword)
          Deprecated. Use MessagingFactory.createAccessPoint(Address,String) instead
static List<java.lang.String> expandAccessPoint(AccessPoint accessPoint)
          Deprecated. Use MessagingFactory.expandAccessPoint(AccessPoint) instead
static List<java.lang.String> expandAccessPoint(AccessPoint accessPoint, boolean withKeyword)
          Deprecated. Use MessagingFactory.expandAccessPoint(AccessPoint,boolean) instead
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createAccessPoint

@Deprecated
public static AccessPoint createAccessPoint(AccessPoint.AccessPointType apType,
                                                       DeliveryType deliveryType,
                                                       java.lang.String value)
Deprecated. Use MessagingFactory.createAccessPoint(AccessPoint.AccessPointType,DeliveryType,String) instead

Create a new access point.

Parameters:
apType - the access point type.
deliveryType - the access point address delivery type.
value - the access point address value.
Returns:
a new access point with the specified apType, deliveryType and value.

createAccessPoint

@Deprecated
public static AccessPoint createAccessPoint(AccessPoint.AccessPointType apType,
                                                       DeliveryType deliveryType,
                                                       java.lang.String value,
                                                       java.lang.String keyword)
Deprecated. Use MessagingFactory.createAccessPoint(AccessPoint.AccessPointType,DeliveryType,String,String) instead

Create a new access point.

Parameters:
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.
Returns:
a new access point with the specified apType, deliveryType, value, and keyword.

createAccessPoint

@Deprecated
public static AccessPoint createAccessPoint(Address address)
Deprecated. Use MessagingFactory.createAccessPoint(Address) instead

Create a new access point from an Address object.

Parameters:
address - an object of oracle.sdp.messaging.Address interface
Returns:
an AccessPoint of type SINGLE_ADDRESS built from the input address.

createAccessPoint

@Deprecated
public static AccessPoint createAccessPoint(Address address,
                                                       java.lang.String keyword)
Deprecated. Use MessagingFactory.createAccessPoint(Address,String) instead

Create a new access point from an Address object.

Parameters:
address - an object of oracle.sdp.messaging.Address interface
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. * @return an AccessPoint of type SINGLE_ADDRESS built from the input address and keyword.

expandAccessPoint

@Deprecated
public static List<java.lang.String> expandAccessPoint(AccessPoint accessPoint)
Deprecated. Use MessagingFactory.expandAccessPoint(AccessPoint) instead

Utility method to generate a list containing the expanded set of addresses from an access point. If this is a single address access point, the address is returned. If this is a number range access point, then the range expression is expanded and all addresses within the range are returned. Equivalent to calling expandAccessPoint(accessPoint, true)

Parameters:
accessPoint - the access point to expand
Returns:
a list containing the expanded set of addresses from the access point.

expandAccessPoint

@Deprecated
public static List<java.lang.String> expandAccessPoint(AccessPoint accessPoint,
                                                                  boolean withKeyword)
Deprecated. Use MessagingFactory.expandAccessPoint(AccessPoint,boolean) instead

Utility method to generate a list containing the expanded set of addresses from an access point, either with our without keywords included. If this is a single address access point, the address is returned. If this is a number range access point, then the range expression is expanded and all addresses within the range are returned.

Parameters:
accessPoint - the access point to expand
withKeyword - flag indicating whether the access point keyword should be included in the returned strings.
Returns:
a list containing the expanded set of addresses from the access point.

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

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