DBA Data[Home] [Help]

APPS.WF_BES_CACHE dependencies on WF_AGENT_OBJ

Line 657: p_agent_obj in out nocopy WF_Agent_Obj)

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

Line 675: p_agent_obj in WF_Agent_Obj)

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

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

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

Line 694: p_agent_obj in out nocopy wf_agent_obj)

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

Line 716: wf_agent_obj.Initialize(p_agent_obj);

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

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

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

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

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

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

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

Line 793: p_agent_obj in out nocopy wf_agent_obj)

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

Line 808: wf_agent_obj.Initialize(p_agent_obj);

804: AND a.direction = cp_direction;
805:
806: begin
807: if (p_agent_obj is null) then
808: wf_agent_obj.Initialize(p_agent_obj);
809: end if;
810:
811: if (p_agent_qh is null) then
812: return;

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

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

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

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

Line 855: return wf_agent_obj

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

Line 857: l_agent_obj wf_agent_obj;

853: function GetAgentByName(p_agent_name in varchar2,
854: p_system_name in varchar2)
855: return wf_agent_obj
856: is
857: l_agent_obj wf_agent_obj;
858: l_any_data anyData;
859: l_dummy pls_integer;
860: l_agent_key varchar2(60);
861: l_system_name varchar2(30);

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

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

Line 940: return wf_agent_obj

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

Line 944: l_agent_obj wf_agent_obj;

940: return wf_agent_obj
941: is
942: l_all_agents wf_object_cache.wf_objects_t;
943: l_agent_key varchar2(60);
944: l_agent_obj wf_agent_obj;
945: l_dummy pls_integer;
946: l_agent_name varchar2(30);
947: l_system_name varchar2(30);
948: l_found boolean;

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

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

Line 1037: return wf_agent_obj

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

Line 1041: l_agent_obj wf_agent_obj;

1037: return wf_agent_obj
1038: is
1039: l_all_agents wf_object_cache.wf_objects_t;
1040: l_agent_key varchar2(60);
1041: l_agent_obj wf_agent_obj;
1042: l_dummy pls_integer;
1043: l_agent_name varchar2(30);
1044: l_system_name varchar2(30);
1045: l_found boolean;