|
jPOS 1.6.1 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpos.core.CardAgentLookup
public class CardAgentLookup
CardAgent,
CardTransaction| Method Summary | |
|---|---|
static void |
add(CardAgent agent)
register an Agent (at the end of the list) |
static CardAgent |
getAgent(byte[] b)
locate an agent giving a transaction Image |
static CardAgent |
getAgent(CardTransaction t)
locate an agent able to process a given CardTransaction |
static CardAgent |
getAgent(java.lang.Class t)
locate an agent of a given class |
static CardAgent |
getAgent(int id)
locate an agent giving its unique agent ID |
static CardAgent |
getAgent(java.lang.String name)
locate an agent giving its class Name |
static CardAgent[] |
getAgents()
|
static CardAgent[] |
getAgents(CardTransaction t)
locate agent able to process a given CardTransaction |
static void |
remove(CardAgent agent)
remove all ocurrences of agent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void add(CardAgent agent)
agent - Agent to addpublic static void remove(CardAgent agent)
agent - Agent to removepublic static CardAgent[] getAgents()
public static CardAgent[] getAgents(CardTransaction t)
t - CardTransaction holding an Operation to be performed
public static CardAgent getAgent(java.lang.String name)
throws CardAgentNotFoundException
class - name
CardAgentNotFoundException
public static CardAgent getAgent(int id)
throws CardAgentNotFoundException
id -
CardAgentNotFoundException
public static CardAgent getAgent(byte[] b)
throws CardAgentNotFoundException
b - a transaction image
CardAgentNotFoundException
public static CardAgent getAgent(java.lang.Class t)
throws CardAgentNotFoundException
class -
CardAgentNotFoundException
public static CardAgent getAgent(CardTransaction t)
throws CardAgentNotFoundException
t - CardTransaction holding an Operation to be performed
CardAgentNotFoundException
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||