Rem drv:
Rem
Rem $Header: bam_pkgdef.sql 14-jul-2006.13:47:46 skkunise Exp $
Rem
Rem bam_pkgbody.sql
Rem
Rem Copyright (c) 2006, Oracle. All rights reserved.
Rem
Rem NAME
Rem bam_pkgbody.sql -
Rem
Rem DESCRIPTION
Rem
Rem
Rem NOTES
Rem
Rem
Rem MODIFIED (MM/DD/YY)
Rem skkunise 01/16/06 - Created
Rem
CREATE OR REPLACE PACKAGE EM_BAM_UTIL IS
G_MODULE_NAME CONSTANT VARCHAR2(30) := 'EM_BAM_UTIL';
G_DEVICE_SUFFIX_NAME CONSTANT VARCHAR2(30) := 'NotifyDevice';
G_RULE_SUFFIX_NAME CONSTANT VARCHAR2(30) := 'NotifyRule';
G_DEVICE_CLASS_NAME CONSTANT VARCHAR(64) := 'oracle.sysman.eml.bam.notif.JmsAlertNotifier';
--
-- PROCEDURE: CREATE_BAM_NOTIF_DEVICE
--
-- PURPOSE
-- this procedure creates java callback notification device
-- one each for each JmsHub.
-- the name of the device is NotifDevice
--
PROCEDURE CREATE_BAM_NOTIF_DEVICE
(
p_servername_in IN VARCHAR2
);
--
-- PROCEDURE: CREATE_BAM_NOTIF_RULE
--
-- PURPOSE
-- this procedure creates a rule for each Data Session
-- and the rule is registered with the device
-- the name of the rule is NotifRule
--
PROCEDURE CREATE_BAM_NOTIF_RULE
(
p_servername_in IN VARCHAR2,
p_sessionname_in IN VARCHAR2
);
END EM_BAM_UTIL;
/
show errors;