DBA Data[Home] [Help]

APPS.WF_BES_CACHE dependencies on WF_AGENT_OBJ

Line 661: p_agent_obj in out nocopy WF_Agent_Obj)

657: -- This procedure sets the given agent object to the Object cache. This
658: -- procedure sets the agent object to the appropriate cache created for
659: -- agents
660: procedure Get_Agent_Object(p_agent_key in varchar2,
661: p_agent_obj in out nocopy WF_Agent_Obj)
662: is
663: l_any_data AnyData;
664: l_dummy pls_integer;
665: begin

Line 679: p_agent_obj in WF_Agent_Obj)

675: -- Set_Agent_Object (PRIVATE)
676: -- This procedure gets the agent object from the Object cache for the given
677: -- agent name + system name.
678: procedure Set_Agent_Object(p_agent_key in varchar2,
679: p_agent_obj in WF_Agent_Obj)
680: is
681: l_any_data AnyData;
682: begin
683: -- Store this object in the cache for future use

Line 690: -- information to the wf_agent_obj instance. This procedure takes agent

686: end Set_Agent_Object;
687:
688: -- Load_Agent (PRIVATE)
689: -- Given the agent name and system name, this procedure loads the agent
690: -- information to the wf_agent_obj instance. This procedure takes agent
691: -- name, system name and agent guid as inputs.
692: -- o if agent name and system name are not null, it uses this to get info
693: -- o if agent name and/or system name are null and agent guid is not null
694: -- it agent guid to get the info

Line 698: p_agent_obj in out nocopy wf_agent_obj)

694: -- it agent guid to get the info
695: procedure Load_Agent(p_agent_guid in raw,
696: p_agent_name in varchar2,
697: p_system_name in varchar2,
698: p_agent_obj in out nocopy wf_agent_obj)
699: is
700:
701: CURSOR c_get_agent_n (cp_agent_name varchar2, cp_system_name varchar2) IS
702: SELECT a.guid, a.name, a.system_guid, s.name, a.protocol, a.address,

Line 720: wf_agent_obj.Initialize(p_agent_obj);

716: AND s.guid = a.system_guid;
717:
718: begin
719: if (p_agent_obj is null) then
720: wf_agent_obj.Initialize(p_agent_obj);
721: end if;
722:
723: if (p_agent_name is not null and p_system_name is not null) then
724: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then

Line 750: -- If agent not found in the set wf_agent_obj to null

746: wf_log_pkg.string(wf_log_pkg.level_statement,
747: 'wf.plsql.WF_BES_CACHE.Load_Agent.Not_Found',
748: 'Agent not found in the database.');
749: end if;
750: -- If agent not found in the set wf_agent_obj to null
751: p_agent_obj := null;
752: end if;
753: close c_get_agent_n;
754: elsif (p_agent_guid is not null) then

Line 781: -- If agent not found in the set wf_agent_obj to null

777: wf_log_pkg.string(wf_log_pkg.level_statement,
778: 'wf.plsql.WF_BES_CACHE.Load_Agent.Not_Found',
779: 'Agent not found in the database');
780: end if;
781: -- If agent not found in the set wf_agent_obj to null
782: p_agent_obj := null;
783: end if;
784: close c_get_agent_g;
785: else

Line 793: -- information to the wf_agent_obj instance of the first agent whose

789: end Load_Agent;
790:
791: -- Load_Agent_QH (PRIVATE)
792: -- Given the queue handler name, this procedure loads the agent
793: -- information to the wf_agent_obj instance of the first agent whose
794: -- queue handler matches with this queue handler
795: procedure Load_Agent_QH(p_agent_qh in varchar2,
796: p_direction in varchar2,
797: p_agent_obj in out nocopy wf_agent_obj)

Line 797: p_agent_obj in out nocopy wf_agent_obj)

793: -- information to the wf_agent_obj instance of the first agent whose
794: -- queue handler matches with this queue handler
795: procedure Load_Agent_QH(p_agent_qh in varchar2,
796: p_direction in varchar2,
797: p_agent_obj in out nocopy wf_agent_obj)
798: is
799:
800: CURSOR c_get_agent (cp_agent_qh varchar2, cp_direction varchar2) IS
801: SELECT a.guid, a.name, a.system_guid, s.name, a.protocol, a.address,

Line 812: wf_agent_obj.Initialize(p_agent_obj);

808: AND a.direction = cp_direction;
809:
810: begin
811: if (p_agent_obj is null) then
812: wf_agent_obj.Initialize(p_agent_obj);
813: end if;
814:
815: if (p_agent_qh is null) then
816: return;

Line 846: -- If agent not found in the set wf_agent_obj to null

842: wf_log_pkg.string(wf_log_pkg.level_statement,
843: 'wf.plsql.WF_BES_CACHE.Load_Agent.Not_Found',
844: 'No Agent exists for the given queue handler');
845: end if;
846: -- If agent not found in the set wf_agent_obj to null
847: p_agent_obj := null;
848: end if;
849: close c_get_agent;
850:

Line 854: -- This function returns an instance of WF_AGENT_OBJ that contains the

850:
851: end Load_Agent_QH;
852:
853: -- GetAgentByName
854: -- This function returns an instance of WF_AGENT_OBJ that contains the
855: -- information about the specified Agent name + System Name. If null
856: -- system name is provided, local system is assumed.
857: function GetAgentByName(p_agent_name in varchar2,
858: p_system_name in varchar2)

Line 859: return wf_agent_obj

855: -- information about the specified Agent name + System Name. If null
856: -- system name is provided, local system is assumed.
857: function GetAgentByName(p_agent_name in varchar2,
858: p_system_name in varchar2)
859: return wf_agent_obj
860: is
861: l_agent_obj wf_agent_obj;
862: l_any_data anyData;
863: l_dummy pls_integer;

Line 861: l_agent_obj wf_agent_obj;

857: function GetAgentByName(p_agent_name in varchar2,
858: p_system_name in varchar2)
859: return wf_agent_obj
860: is
861: l_agent_obj wf_agent_obj;
862: l_any_data anyData;
863: l_dummy pls_integer;
864: l_agent_key varchar2(60);
865: l_system_name varchar2(30);

Line 941: -- This function returns an instance of WF_AGENT_OBJ that contains the

937:
938: end GetAgentByName;
939:
940: -- GetAgentByGUID
941: -- This function returns an instance of WF_AGENT_OBJ that contains the
942: -- information about the specified Agent guid
943: function GetAgentByGUID(p_agent_guid in raw)
944: return wf_agent_obj
945: is

Line 944: return wf_agent_obj

940: -- GetAgentByGUID
941: -- This function returns an instance of WF_AGENT_OBJ that contains the
942: -- information about the specified Agent guid
943: function GetAgentByGUID(p_agent_guid in raw)
944: return wf_agent_obj
945: is
946: l_all_agents wf_object_cache.wf_objects_t;
947: l_agent_key varchar2(60);
948: l_agent_obj wf_agent_obj;

Line 948: l_agent_obj wf_agent_obj;

944: return wf_agent_obj
945: is
946: l_all_agents wf_object_cache.wf_objects_t;
947: l_agent_key varchar2(60);
948: l_agent_obj wf_agent_obj;
949: l_dummy pls_integer;
950: l_agent_name varchar2(30);
951: l_system_name varchar2(30);
952: l_found boolean;

Line 1037: -- This function returns an instance of WF_AGENT_OBJ that contains the

1033: raise;
1034: end GetAgentByGUID;
1035:
1036: -- GetAgentByQH
1037: -- This function returns an instance of WF_AGENT_OBJ that contains the
1038: -- information about first agent that matches the specified Queue Handler
1039: function GetAgentByQH(p_agent_qh in varchar2,
1040: p_direction in varchar2)
1041: return wf_agent_obj

Line 1041: return wf_agent_obj

1037: -- This function returns an instance of WF_AGENT_OBJ that contains the
1038: -- information about first agent that matches the specified Queue Handler
1039: function GetAgentByQH(p_agent_qh in varchar2,
1040: p_direction in varchar2)
1041: return wf_agent_obj
1042: is
1043: l_all_agents wf_object_cache.wf_objects_t;
1044: l_agent_key varchar2(60);
1045: l_agent_obj wf_agent_obj;

Line 1045: l_agent_obj wf_agent_obj;

1041: return wf_agent_obj
1042: is
1043: l_all_agents wf_object_cache.wf_objects_t;
1044: l_agent_key varchar2(60);
1045: l_agent_obj wf_agent_obj;
1046: l_dummy pls_integer;
1047: l_agent_name varchar2(30);
1048: l_system_name varchar2(30);
1049: l_found boolean;