public class AmpManagerImpl extends java.lang.Object implements AmpManager
Constructor and Description |
---|
AmpManagerImpl(AmpManagerBuilder builder) |
Modifier and Type | Method and Description |
---|---|
AmpActorRef |
addActor(java.lang.String address,
AmpActor actor)
Adds an actor stream, creating the mailbox for it
using the default factory.
|
AmpActorRef |
addActor(java.lang.String address,
java.lang.Object bean)
Adds a bean to be proxied as an actor.
|
protected AmpActorContext |
createActorContext(java.lang.String address,
AmpActor actor) |
<T> T |
createActorProxy(AmpActorRef to,
java.lang.Class<T> api)
Creates a client proxy to an api.
|
<T> T |
createActorProxy(java.lang.String to,
java.lang.Class<T> api)
Creates a client proxy to an api.
|
<T> T |
createClient(java.lang.Class<T> api,
java.lang.String to,
java.lang.String from) |
AmpBroker |
getBroker()
Returns the domain's broker.
|
protected AmpMailboxFactory |
getMailboxFactory() |
AmpActorContext |
getSystemContext() |
public AmpManagerImpl(AmpManagerBuilder builder)
public AmpBroker getBroker()
AmpManager
getBroker
in interface AmpManager
public AmpActorContext getSystemContext()
getSystemContext
in interface AmpManager
public <T> T createActorProxy(java.lang.String to, java.lang.Class<T> api)
AmpManager
createActorProxy
in interface AmpManager
public <T> T createActorProxy(AmpActorRef to, java.lang.Class<T> api)
AmpManager
createActorProxy
in interface AmpManager
public <T> T createClient(java.lang.Class<T> api, java.lang.String to, java.lang.String from)
public AmpActorRef addActor(java.lang.String address, AmpActor actor)
AmpManager
addActor
in interface AmpManager
public AmpActorRef addActor(java.lang.String address, java.lang.Object bean)
AmpManager
addActor
in interface AmpManager
protected AmpActorContext createActorContext(java.lang.String address, AmpActor actor)
protected AmpMailboxFactory getMailboxFactory()