Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Intelligence Publisher
11g Release 1 (11.1.1)

E22256-01


oracle.xdo.delivery
Class DeliveryManager

java.lang.Object
  extended by oracle.xdo.delivery.DeliveryComponent
      extended by oracle.xdo.delivery.DeliveryManager

All Implemented Interfaces:
DeliveryTypeDefinitions

public class DeliveryManager
extends DeliveryComponent
implements DeliveryTypeDefinitions

This class is the entry point to use the delivery system.

Since:
5.0

Field Summary

 

Fields inherited from class oracle.xdo.delivery.DeliveryComponent
RCS_ID

 

Fields inherited from interface oracle.xdo.delivery.DeliveryTypeDefinitions
RCS_ID, TYPE_AS2, TYPE_EXTERNAL, TYPE_FTP, TYPE_HTTP, TYPE_IPP_FAX, TYPE_IPP_PRINTER, TYPE_LOCAL, TYPE_LPD, TYPE_PRINTER, TYPE_RIGHTFAX, TYPE_SFTP, TYPE_SMTP_EMAIL, TYPE_WEBDAV

 

Constructor Summary
DeliveryManager()
          Constructor without global options
DeliveryManager(java.util.Hashtable pGlobalOptions)
          Constructor with global options.

 

Method Summary
static void addRequestFactory(java.lang.String pRequestType, java.lang.String pFactoryClassName)
          Adds the custom delivery request factory.
 DeliveryRequest createRequest(java.lang.String pRequestType)
          Creates a delivery request.
 java.lang.String getDefaultServerName(java.lang.String pServerType)
          Returns the default server name of the specific delivery channel defined in the configuration file.
 java.lang.String[] getDefaultServerNames()
          Returns the default server names defined in the configuration file.
static int getRequestId()
          Returns the unique request ID.
 java.lang.String[] getServerNames()
          Returns the server names defined in the configuration file.
 java.lang.String[] getServerNames(java.lang.String pServerType)
          Returns the server names defined in the configuration file.
static void reloadConfig(java.io.InputStream pConfig)
          Reloads the configuration file.
static void reloadConfig(java.lang.String pConfigFile)
          Reloads the configuration file.

 

Methods inherited from class oracle.xdo.delivery.DeliveryComponent
addProperties, addProperties, addProperty, getBooleanProperty, getBooleanProperty, getIntegerProperty, getIntegerProperty, getProperties, getProperty, getStringProperty, removeProperty, validateProperties

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DeliveryManager

public DeliveryManager()
                throws InvalidFactoryException
Constructor without global options
Throws:
InvalidFactoryException

DeliveryManager

public DeliveryManager(java.util.Hashtable pGlobalOptions)
                throws InvalidFactoryException
Constructor with global options. The global options are applied to this delivery manager and all delivery requests.
Parameters:
pGlobalOptions - global options for
Throws:
InvalidFactoryException

Method Detail

createRequest

public DeliveryRequest createRequest(java.lang.String pRequestType)
                              throws UndefinedRequestTypeException
Creates a delivery request.
Parameters:
pProtocolName - Protocol name
pDestination -
pProperties - Request properties
Returns:
Throws:
UndefinedRequestTypeException

getRequestId

public static int getRequestId()
Returns the unique request ID.
Returns:
request ID

addRequestFactory

public static void addRequestFactory(java.lang.String pRequestType,
                                     java.lang.String pFactoryClassName)
                              throws InvalidFactoryException
Adds the custom delivery request factory.
Throws:
NoSuchFactoryException
InvalidFactoryException

reloadConfig

public static void reloadConfig(java.lang.String pConfigFile)
Reloads the configuration file.

reloadConfig

public static void reloadConfig(java.io.InputStream pConfig)
Reloads the configuration file.

getServerNames

public java.lang.String[] getServerNames()
Returns the server names defined in the configuration file.
Returns:
server names

getServerNames

public java.lang.String[] getServerNames(java.lang.String pServerType)
Returns the server names defined in the configuration file.
Parameters:
pServerType - server type
Returns:
server names

getDefaultServerNames

public java.lang.String[] getDefaultServerNames()
Returns the default server names defined in the configuration file.
Returns:
server names

getDefaultServerName

public java.lang.String getDefaultServerName(java.lang.String pServerType)
Returns the default server name of the specific delivery channel defined in the configuration file.
Returns:
server name

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Intelligence Publisher
11g Release 1 (11.1.1)

E22256-01


Copyright © 2010, 2011, Oracle. All rights reserved.