public interface BamManager
Modifier and Type | Method and Description |
---|---|
void |
addActor(java.lang.String address,
ManagedActor actor)
Adds an actor and creates a default mailbox
|
void |
addMailbox(java.lang.String address,
Mailbox mailbox)
Adds a mailbox to the broker.
|
BamActorRef |
createActorRef(java.lang.String to) |
Agent |
createAgent(MessageStream actorStream)
Creates an agent
|
Agent |
createAgent(MessageStream actorStream,
MailboxType mailboxType)
Creates an agent
|
Mailbox |
createClient(Mailbox next,
java.lang.String uid,
java.lang.String resource) |
ActorSender |
createClient(java.lang.String uid,
java.lang.String resource) |
<T> T |
createProxy(java.lang.Class<T> api,
BamActorRef to,
ActorSender sender) |
<T> T |
createProxy(java.lang.Class<T> api,
java.lang.String to) |
<T> T |
createProxy(java.lang.Class<T> api,
java.lang.String to,
ActorSender sender) |
Mailbox |
createService(java.lang.String address,
java.lang.Object bean) |
Broker |
getBroker()
Returns the managed broker
|
void |
removeMailbox(Mailbox mailbox)
Removes a mailbox
|
Broker getBroker()
void addMailbox(java.lang.String address, Mailbox mailbox)
void removeMailbox(Mailbox mailbox)
void addActor(java.lang.String address, ManagedActor actor)
Agent createAgent(MessageStream actorStream)
Agent createAgent(MessageStream actorStream, MailboxType mailboxType)
Mailbox createService(java.lang.String address, java.lang.Object bean)
proxyAddress
- deployActorProxyImpl
- BamActorRef createActorRef(java.lang.String to)
ActorSender createClient(java.lang.String uid, java.lang.String resource)
<T> T createProxy(java.lang.Class<T> api, java.lang.String to)
<T> T createProxy(java.lang.Class<T> api, BamActorRef to, ActorSender sender)
<T> T createProxy(java.lang.Class<T> api, java.lang.String to, ActorSender sender)