public class RmiRegistryAgent extends AbstractAgent
rmi://localhost:1099
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HOSTNAME |
static int |
DEFAULT_PORT |
static String |
DEFAULT_SERVER_URI |
protected Log |
logger
logger used by this class
|
muleContext, name
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
RmiRegistryAgent() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
String |
getDescription()
A description of the agent that gets displayed in the splash
screen when the Mule Context starts up.
|
String |
getHost() |
String |
getPort() |
Registry |
getRmiRegistry() |
String |
getServerUri() |
void |
initialise()
Method used to perform any initialisation work.
|
boolean |
isCreateRegistry() |
void |
setCreateRegistry(boolean createRegistry) |
void |
setHost(String host) |
void |
setPort(String port) |
void |
setRmiRegistry(Registry rmiRegistry) |
void |
setServerUri(String serverUri) |
void |
start() |
void |
stop() |
getName, setMuleContext, setName, unregisterMeQuietly
protected transient Log logger
public static final String DEFAULT_HOSTNAME
public static final int DEFAULT_PORT
public static final String DEFAULT_SERVER_URI
public String getDescription()
Agent
getDescription
in interface Agent
getDescription
in class AbstractAgent
public void start() throws MuleException
MuleException
public void stop() throws MuleException
MuleException
public void dispose()
Disposable
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic Registry getRmiRegistry()
public void setRmiRegistry(Registry rmiRegistry)
public String getServerUri()
public void setServerUri(String serverUri)
public boolean isCreateRegistry()
public void setCreateRegistry(boolean createRegistry)
public String getHost()
public void setHost(String host)
public String getPort()
public void setPort(String port)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.