|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.joram.client.connector.JoramAdapter
public final class JoramAdapter
A JoramAdapter instance manages connectivities to an underlying
JORAM server: outbound connectivity (JCA connection management contract) and
inbound connectivity (asynchronous message delivery as specified by the JCA
message inflow contract).
| Field Summary | |
|---|---|
boolean |
asyncSend
Determines whether the produced messages are asynchronously sent or not (without or with acknowledgement) Default is false (with ack). |
int |
cnxPendingTimer
Period in milliseconds between two ping requests sent by the client connection to the server; if the server does not receive any ping request during more than 2 * cnxPendingTimer, the connection is considered as dead and processed as required. |
int |
connectingTimer
Duration in seconds during which connecting is attempted (connecting might take time if the server is temporarily not reachable); the 0 value is set for connecting only once and aborting if connecting failed. |
boolean |
deleteDurableSubscription
Determine whether durable subscription must be deleted or not at close time of the InboundConsumer. |
com.scalagent.jmx.JMXServer |
jmxServer
|
static org.objectweb.util.monolog.api.Logger |
logger
|
boolean |
multiThreadSync
Determines whether client threads which are using the same connection are synchronized in order to group together the requests they send. |
int |
multiThreadSyncDelay
The maximum time the threads hang if 'multiThreadSync' is true. |
int |
queueMessageReadMax
The maximum number of messages that can be read at once from a queue. |
int |
topicAckBufferMax
The maximum number of acknowledgements that can be buffered in Session.DUPS_OK_ACKNOWLEDGE mode when listening to a topic. |
int |
topicActivationThreshold
This threshold is the minimum messages number below which the subscription is activated. |
int |
topicPassivationThreshold
This threshold is the maximum messages number over which the subscription is passivated. |
int |
txPendingTimer
Duration in seconds during which a JMS transacted (non XA) session might be pending; above that duration the session is rolled back and closed; the 0 value means "no timer". |
| Constructor Summary | |
|---|---|
JoramAdapter()
Constructs a JoramAdapter instance. |
|
| Method Summary | |
|---|---|
void |
createCF(java.lang.String name)
Creates a non managed connection factory and binds it to JNDI. |
java.lang.String |
createQueue(short serverId,
java.lang.String name)
Creates or retrieves a queue destination on the underlying JORAM server, (re)binds the corresponding Queue instance. |
java.lang.String |
createQueue(short serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
First tries to retrieve a queue destination on the underlying JORAM server first using JNDI then the Joram's internal name service. |
java.lang.String |
createQueue(java.lang.String name)
Creates or retrieves a queue destination on the underlying JORAM server, (re)binds the corresponding Queue instance. |
void |
createQueueCF(java.lang.String name)
Creates a non managed PTP connection factory and binds it to JNDI. |
java.lang.String |
createTopic(short serverId,
java.lang.String name)
Creates or retrieves a topic destination on the underlying JORAM server, (re)binds the corresponding Topic instance. |
java.lang.String |
createTopic(short serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
Creates or retrieves a topic destination on the underlying JORAM server, (re)binds the corresponding Topic instance. |
java.lang.String |
createTopic(java.lang.String name)
Creates or retrieves a topic destination on the underlying JORAM server, (re)binds the corresponding Topic instance. |
void |
createTopicCF(java.lang.String name)
Creates a non managed PubSub connection factory and binds it to JNDI. |
java.lang.String |
createUser(java.lang.String name,
java.lang.String password)
Creates or retrieves a user on the underlying JORAM server. |
java.lang.String |
createUser(java.lang.String name,
java.lang.String password,
short serverId)
Creates or retrieves a user on the given JORAM server. |
java.lang.String |
createUser(java.lang.String name,
java.lang.String password,
short serverId,
java.lang.String identityClass)
Creates or retrieves a user on the underlying JORAM server. |
java.lang.String |
createUser(java.lang.String name,
java.lang.String password,
java.lang.String identityClass)
Creates or retrieves a user on the underlying JORAM server. |
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
Notifies the adapter to setup asynchronous message delivery for an application server endoint. |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
Notifies the adapter to deactivate message delivery for a given endpoint. |
boolean |
equals(java.lang.Object o)
Compares adapters according to their properties. |
void |
executeXMLAdmin(java.lang.String path)
Executes the XML configuration file. |
void |
exit()
Deprecated. |
void |
exportRepositoryToFile(java.lang.String exportDir)
Export the repository content to an XML file with default filename |
void |
exportRepositoryToFile(java.lang.String exportDir,
java.lang.String exportFilename)
Export the repository content to an XML file - only the destinations objects are retrieved in this version - xml script format of the admin objects (joramAdmin.xml) |
java.lang.String |
getAdminFileExportXML()
Returns the path of XML the file containing a description of the exported administered objects (destination) from the platform. |
java.lang.String |
getAdminFileXML()
Returns the path of XML the file containing a description of the administered objects to create and bind at starting. |
java.lang.Boolean |
getAsyncSend()
|
java.lang.Short |
getClusterId()
|
java.lang.Integer |
getCnxPendingTimer()
Period in milliseconds between two ping requests sent by the client connection to the server; if the server does not receive any ping request during more than 2 * cnxPendingTimer, the connection is considered as dead and processed as required. |
java.lang.Boolean |
getCollocatedServer()
Returns true if the Joram server is collocated. |
java.lang.String |
getConfiguration()
Returns the current servers configuration (a3servers.xml). |
java.lang.Integer |
getConnectingTimer()
Duration in seconds during which connecting is attempted (connecting might take time if the server is temporarily not reachable); the 0 value is set for connecting only once and aborting if connecting failed. |
java.lang.String |
getDefaultDMQId()
Returns the unique identifier of the default dead message queue for the local server, null if not set. |
java.lang.String |
getDefaultDMQId(short serverId)
Returns the unique identifier of the default dead message queue for a given server, null if not set. |
int |
getDefaultThreshold()
Returns the default threshold of the Joram server. |
int |
getDefaultThreshold(short serverId)
Returns the default threshold of the given Joram server. |
java.lang.Boolean |
getDeleteDurableSubscription()
Returns the deleteDurableSubscription attribute. |
java.lang.String[] |
getDestinations()
Returns the list of all destinations that exist on the local server. |
java.lang.String[] |
getDestinations(short serverId)
Returns the list of all destinations that exist on the given server. |
java.lang.String |
getHAURL()
|
java.lang.String |
getHostName()
Returns the location of the Joram server. |
java.lang.String |
getIdentityClass()
|
java.lang.String |
getJMSProviderName()
Get the provider name: Joram. |
java.lang.String |
getJMSVersion()
Gets the JMS API version. |
java.lang.Boolean |
getMultiThreadSync()
|
java.lang.Integer |
getMultiThreadSyncDelay()
|
java.lang.Boolean |
getPersistentPlatform()
Returns true if the Joram server is persistent. |
java.lang.String |
getPlatformConfigDir()
Path to the directory containing JORAM's configuration files ( a3servers.xml, a3debug.cfg
and admin file), needed when starting the collocated JORAM server. |
java.lang.String |
getProviderVersion()
Gets the Joram's implementation version. |
java.lang.Integer |
getQueueMessageReadMax()
|
java.lang.String |
getRootName()
|
java.lang.String |
getRootPasswd()
|
java.lang.Short |
getServerId()
Returns the unique identifier of the Joram server. |
java.lang.String |
getServerName()
Returns the name of the Joram server. |
java.lang.Integer |
getServerPort()
Returns the listening port of the Joram server. |
java.lang.Short[] |
getServersIds()
Returns the list of the platform's servers' identifiers. |
java.lang.String[] |
getServersNames()
Returns the list of the platform's servers' names. |
long |
getTimeOutToAbortRequest()
Gets timeout before abort a request. |
java.lang.Integer |
getTopicAckBufferMax()
|
java.lang.Integer |
getTopicActivationThreshold()
|
java.lang.Integer |
getTopicPassivationThreshold()
|
java.lang.Integer |
getTxPendingTimer()
Duration in seconds during which a JMS transacted (non XA) session might be pending; above that duration the session is rolled back and closed; the 0 value means "no timer". |
java.lang.String[] |
getUsers()
Returns the list of all users that exist on the local server. |
java.lang.String[] |
getUsers(short serverId)
Returns the list of all users that exist on a given server. |
javax.transaction.xa.XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs)
Returns XA resources given an array of ActivationSpec instances. |
int |
hashCode()
Returns a code depending on the adapter properties. |
void |
removeDestination(java.lang.String name)
Remove a destination specified by its JNDI name on the underlying JORAM platform. |
void |
resetDefaultDMQ()
Unset the default dead message queue for the local server. |
void |
resetDefaultDMQ(short serverId)
Unset the default dead message queue for the given server. |
void |
setAdminFileExportXML(java.lang.String adminFileExportXML)
Sets the path of the XML file containing a description of the exported administered objects (destination) from the platform. |
void |
setAdminFileXML(java.lang.String adminFileXML)
Sets the path of the XML file containing a description of the administered objects to create and bind at starting. |
void |
setAsyncSend(java.lang.Boolean asyncSend)
|
void |
setClusterId(java.lang.Short clusterId)
|
void |
setCnxPendingTimer(java.lang.Integer cnxPendingTimer)
|
void |
setCollocatedServer(java.lang.Boolean collocatedServer)
|
void |
setConnectingTimer(java.lang.Integer connectingTimer)
|
void |
setDefaultThreshold(int threshold)
Sets the default threshold of the Joram server. |
void |
setDefaultThreshold(short serverId,
int threshold)
Sets the default threshold of the given Joram server. |
void |
setDeleteDurableSubscription(java.lang.Boolean flg)
Set the deleteDurableSubscription attribute. |
void |
setHAURL(java.lang.String haURL)
|
void |
setHostName(java.lang.String hostName)
|
void |
setIdentityClass(java.lang.String identityClass)
|
void |
setMultiThreadSync(java.lang.Boolean multiThreadSync)
|
void |
setMultiThreadSyncDelay(java.lang.Integer multiThreadSyncDelay)
|
void |
setPersistentPlatform(java.lang.Boolean persistentPlatform)
|
void |
setPlatformConfigDir(java.lang.String platformConfigDir)
|
void |
setQueueMessageReadMax(java.lang.Integer queueMessageReadMax)
|
void |
setRootName(java.lang.String rn)
|
void |
setRootPasswd(java.lang.String rp)
|
void |
setServerId(java.lang.Short serverId)
|
void |
setServerName(java.lang.String serverName)
|
void |
setServerPort(java.lang.Integer serverPort)
|
void |
setTimeOutToAbortRequest(long timeOut)
Sets timeout before abort a request. |
void |
setTopicAckBufferMax(java.lang.Integer topicAckBufferMax)
|
void |
setTopicActivationThreshold(java.lang.Integer topicActivationThreshold)
|
void |
setTopicPassivationThreshold(java.lang.Integer topicPassivationThreshold)
|
void |
setTxPendingTimer(java.lang.Integer txPendingTimer)
|
void |
start(javax.resource.spi.BootstrapContext ctx)
Initializes the adapter; starts, if needed, a collocated JORAM server, and if needed again, administers it. |
void |
stop()
Notifies the adapter to terminate the connections it manages, and if needed, to shutdown the collocated JORAM server. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.objectweb.util.monolog.api.Logger logger
public int connectingTimer
public int txPendingTimer
public int cnxPendingTimer
public int queueMessageReadMax
public int topicAckBufferMax
public int topicPassivationThreshold
public int topicActivationThreshold
public boolean asyncSend
public boolean multiThreadSync
public int multiThreadSyncDelay
Default is 1 ms.
public boolean deleteDurableSubscription
Default is false.
public com.scalagent.jmx.JMXServer jmxServer
| Constructor Detail |
|---|
public JoramAdapter()
JoramAdapter instance.
| Method Detail |
|---|
public void setCollocatedServer(java.lang.Boolean collocatedServer)
public java.lang.Boolean getCollocatedServer()
JoramAdapterMBeantrue if the Joram server is collocated.
getCollocatedServer in interface JoramAdapterMBeantrue if the Joram server is collocated.public java.lang.String getHostName()
JoramAdapterMBean
getHostName in interface JoramAdapterMBeanpublic void setHostName(java.lang.String hostName)
public java.lang.Integer getServerPort()
JoramAdapterMBean
getServerPort in interface JoramAdapterMBeanpublic void setServerPort(java.lang.Integer serverPort)
public java.lang.String getHAURL()
public void setHAURL(java.lang.String haURL)
public java.lang.String getRootName()
public void setRootName(java.lang.String rn)
public java.lang.String getRootPasswd()
public void setRootPasswd(java.lang.String rp)
public java.lang.String getIdentityClass()
public void setIdentityClass(java.lang.String identityClass)
public java.lang.Short getServerId()
JoramAdapterMBean
getServerId in interface JoramAdapterMBeanpublic void setServerId(java.lang.Short serverId)
public java.lang.String getServerName()
JoramAdapterMBean
getServerName in interface JoramAdapterMBeanpublic void setServerName(java.lang.String serverName)
public java.lang.Short getClusterId()
public void setClusterId(java.lang.Short clusterId)
public java.lang.String getPlatformConfigDir()
JoramAdapterMBeana3servers.xml, a3debug.cfg
and admin file), needed when starting the collocated JORAM server.
getPlatformConfigDir in interface JoramAdapterMBeanpublic void setPlatformConfigDir(java.lang.String platformConfigDir)
public java.lang.Boolean getPersistentPlatform()
JoramAdapterMBeantrue if the Joram server is persistent.
getPersistentPlatform in interface JoramAdapterMBeantrue if the Joram server is persistent.public void setPersistentPlatform(java.lang.Boolean persistentPlatform)
public java.lang.String getAdminFileXML()
getAdminFileXML in interface JoramAdapterMBeanpublic void setAdminFileXML(java.lang.String adminFileXML)
public java.lang.String getAdminFileExportXML()
getAdminFileExportXML in interface JoramAdapterMBeanpublic void setAdminFileExportXML(java.lang.String adminFileExportXML)
public java.lang.Integer getConnectingTimer()
JoramAdapterMBean
getConnectingTimer in interface JoramAdapterMBeanpublic void setConnectingTimer(java.lang.Integer connectingTimer)
public java.lang.Integer getTxPendingTimer()
JoramAdapterMBean
getTxPendingTimer in interface JoramAdapterMBeanpublic void setTxPendingTimer(java.lang.Integer txPendingTimer)
public java.lang.Integer getCnxPendingTimer()
JoramAdapterMBean
getCnxPendingTimer in interface JoramAdapterMBeanpublic void setCnxPendingTimer(java.lang.Integer cnxPendingTimer)
public java.lang.Integer getQueueMessageReadMax()
public void setQueueMessageReadMax(java.lang.Integer queueMessageReadMax)
public java.lang.Integer getTopicAckBufferMax()
public void setTopicAckBufferMax(java.lang.Integer topicAckBufferMax)
public java.lang.Integer getTopicPassivationThreshold()
public void setTopicPassivationThreshold(java.lang.Integer topicPassivationThreshold)
public java.lang.Integer getTopicActivationThreshold()
public void setTopicActivationThreshold(java.lang.Integer topicActivationThreshold)
public java.lang.Boolean getAsyncSend()
public void setAsyncSend(java.lang.Boolean asyncSend)
public java.lang.Boolean getMultiThreadSync()
public void setMultiThreadSync(java.lang.Boolean multiThreadSync)
public java.lang.Integer getMultiThreadSyncDelay()
public void setMultiThreadSyncDelay(java.lang.Integer multiThreadSyncDelay)
public java.lang.Boolean getDeleteDurableSubscription()
deleteDurableSubscriptionpublic void setDeleteDurableSubscription(java.lang.Boolean flg)
flg - to set deleteDurableSubscriptiondeleteDurableSubscription
public void start(javax.resource.spi.BootstrapContext ctx)
throws javax.resource.spi.ResourceAdapterInternalException
start in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.ResourceAdapterInternalException - If the adapter could not be
initialized.public void stop()
stop in interface javax.resource.spi.ResourceAdapter
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
throws javax.resource.ResourceException
endpointActivation in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.IllegalStateException - If the adapter is either not started,
or stopped.
javax.resource.NotSupportedException - If the provided activation parameters
are invalid.
javax.resource.spi.CommException - If the JORAM server is not reachable.
java.lang.SecurityException - If connecting is not allowed.
javax.resource.ResourceException - Generic exception.
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
endpointDeactivation in interface javax.resource.spi.ResourceAdapter
public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs)
throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.IllegalStateException - If the adapter is either not started,
or stopped.
javax.resource.NotSupportedException - If provided activation parameters
are invalid.
javax.resource.spi.CommException - If the JORAM server is not reachable.
java.lang.SecurityException - If connecting is not allowed.
javax.resource.ResourceException - Generic exception.public void exit()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getJMSVersion()
getJMSVersion in interface JoramAdapterMBeanpublic java.lang.String getJMSProviderName()
getJMSProviderName in interface JoramAdapterMBeanpublic java.lang.String getProviderVersion()
getProviderVersion in interface JoramAdapterMBean
public long getTimeOutToAbortRequest()
throws java.net.ConnectException
getTimeOutToAbortRequest in interface JoramAdapterMBeanjava.net.ConnectExceptionAdminModule.getTimeOutToAbortRequest()
public void setTimeOutToAbortRequest(long timeOut)
throws java.net.ConnectException
setTimeOutToAbortRequest in interface JoramAdapterMBeantimeOut - timeout before abort a request.
java.net.ConnectExceptionAdminModule.setTimeOutToAbortRequest(long)
public java.lang.String getDefaultDMQId()
throws java.net.ConnectException,
AdminException
getDefaultDMQId in interface JoramAdapterMBeanjava.net.ConnectException - If the connection fails.
AdminException - Never thrown.AdminModule.getDefaultDMQId()
public java.lang.String getDefaultDMQId(short serverId)
throws java.net.ConnectException,
AdminException
The request fails if the target server does not belong to the platform.
getDefaultDMQId in interface JoramAdapterMBeanserverId - Unique identifier of the server.
java.net.ConnectException - If the connection fails.
AdminException - If the request fails.AdminModule.getDefaultDMQId()
public void resetDefaultDMQ()
throws java.net.ConnectException,
AdminException
resetDefaultDMQ in interface JoramAdapterMBeanjava.net.ConnectException
AdminException
public void resetDefaultDMQ(short serverId)
throws java.net.ConnectException,
AdminException
resetDefaultDMQ in interface JoramAdapterMBeanserverId - Unique identifier of the given server.
java.net.ConnectException
AdminException
public int getDefaultThreshold()
throws java.net.ConnectException,
AdminException
getDefaultThreshold in interface JoramAdapterMBeanjava.net.ConnectException
AdminExceptionAdminModule.getDefaultThreshold()
public int getDefaultThreshold(short serverId)
throws java.net.ConnectException,
AdminException
getDefaultThreshold in interface JoramAdapterMBeanserverId - Unique identifier of the given Joram server.
java.net.ConnectException
AdminExceptionAdminModule.getDefaultThreshold(int)
public void setDefaultThreshold(int threshold)
throws java.net.ConnectException,
AdminException
setDefaultThreshold in interface JoramAdapterMBeanthreshold - the default threshold of the Joram server.
java.net.ConnectException
AdminExceptionAdminModule.setDefaultThreshold(int)
public void setDefaultThreshold(short serverId,
int threshold)
throws java.net.ConnectException,
AdminException
setDefaultThreshold in interface JoramAdapterMBeanserverId - Unique identifier of the given Joram server.threshold - the default threshold of the given Joram server.
java.net.ConnectException
AdminExceptionAdminModule.setDefaultThreshold(int, int)
public java.lang.String[] getDestinations()
throws java.net.ConnectException,
AdminException
getDestinations in interface JoramAdapterMBeanjava.net.ConnectException - If the connection is closed or broken.
AdminException - Never thrown.#getDestinations(int)
public java.lang.String[] getDestinations(short serverId)
throws java.net.ConnectException,
AdminException
The request fails if the target server does not belong to the platform.
getDestinations in interface JoramAdapterMBeanjava.net.ConnectException - If the connection is closed or broken.
AdminException - Never thrown.JoramAdapterMBean.getDestinations(short)
public java.lang.String createQueue(java.lang.String name)
throws AdminException,
java.net.ConnectException
Queue instance.
createQueue in interface JoramAdapterMBeanname - The name of the queue.
AdminException - If the creation fails.
java.net.ConnectException - if the connection is closed or broken#createQueue(int, String, String, Properties)
public java.lang.String createQueue(short serverId,
java.lang.String name)
throws AdminException,
java.net.ConnectException
Queue instance.
createQueue in interface JoramAdapterMBeanserverId - The identifier of the server where deploying the queue.name - The name of the queue.
AdminException - If the creation fails.
java.net.ConnectException - if the connection is closed or broken#createQueue(int, String, String, Properties)
public java.lang.String createQueue(short serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
throws AdminException,
java.net.ConnectException
serverId - The identifier of the server where deploying the queue.name - The name of the queue.className - The queue class name.prop - The queue properties.
AdminException - If the creation fails.
java.net.ConnectException - if the connection is closed or broken
public java.lang.String createTopic(java.lang.String name)
throws AdminException,
java.net.ConnectException
Topic instance.
createTopic in interface JoramAdapterMBeanname - The name of the topic.
AdminException - If the creation fails.
java.net.ConnectException - if the connection is closed or broken#createTopic(int, String, String, Properties)
public java.lang.String createTopic(short serverId,
java.lang.String name)
throws AdminException,
java.net.ConnectException
Topic instance.
createTopic in interface JoramAdapterMBeanserverId - The identifier of the server where deploying the topic.name - The name of the topic.
AdminException - If the creation fails.
java.net.ConnectException - if the connection is closed or broken#createTopic(int, String, String, Properties)
public java.lang.String createTopic(short serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
throws AdminException,
java.net.ConnectException
Topic instance.
serverId - The identifier of the server where deploying the topic.name - The name of the topic.className - The topic class name.prop - The topic properties.
AdminException - If the creation fails.
java.net.ConnectException - if the connection is closed or broken
public void removeDestination(java.lang.String name)
throws AdminException
removeDestination in interface JoramAdapterMBeanname - The JNDI name of the destination.
AdminException
public java.lang.String[] getUsers()
throws java.net.ConnectException,
AdminException
getUsers in interface JoramAdapterMBeanjava.net.ConnectException - If the connection fails.
AdminException - Never thrown.#getUsers(int)
public java.lang.String[] getUsers(short serverId)
throws java.net.ConnectException,
AdminException
The request fails if the target server does not belong to the platform.
getUsers in interface JoramAdapterMBeanserverId - Unique identifier of the given server.
java.net.ConnectException - If the connection fails.
AdminException - If the request fails.
public java.lang.String createUser(java.lang.String name,
java.lang.String password)
throws AdminException,
java.net.ConnectException
createUser in interface JoramAdapterMBeanname - The login name of the user.password - The password of the user.
AdminException - If the creation fails.
java.net.ConnectException - If the connection fails.#createUser(String, String, int, String)
public java.lang.String createUser(java.lang.String name,
java.lang.String password,
java.lang.String identityClass)
throws AdminException,
java.net.ConnectException
createUser in interface JoramAdapterMBeanname - The login name of the user.password - The password of the user.identityClass - The identity class used for authentication.
AdminException - If the creation fails.
java.net.ConnectException - If the connection fails.#createUser(String, String, int, String)
public java.lang.String createUser(java.lang.String name,
java.lang.String password,
short serverId)
throws AdminException,
java.net.ConnectException
createUser in interface JoramAdapterMBeanname - The login name of the user.password - The password of the user.serverId - The unique identifier of the Joram server.
AdminException - If the creation fails.
java.net.ConnectException - If the connection fails.#createUser(String, String, int, String)
public java.lang.String createUser(java.lang.String name,
java.lang.String password,
short serverId,
java.lang.String identityClass)
throws AdminException,
java.net.ConnectException
createUser in interface JoramAdapterMBeanname - The login name of the user.password - The password of the user.serverId - The unique identifier of the Joram server.identityClass - The identity class used for authentication.
AdminException - If the creation fails.
java.net.ConnectException - If the connection fails.public void createCF(java.lang.String name)
createCF in interface JoramAdapterMBeanname - Name of created connection factory.public void createQueueCF(java.lang.String name)
createQueueCF in interface JoramAdapterMBeanname - Name of created connection factory.public void createTopicCF(java.lang.String name)
createTopicCF in interface JoramAdapterMBeanname - Name of created connection factory.
public void executeXMLAdmin(java.lang.String path)
throws java.lang.Exception
executeXMLAdmin in interface JoramAdapterMBeanpath - the path for the joramAdmin file
AdminException - if an error occurs
java.lang.Exception
public void exportRepositoryToFile(java.lang.String exportDir)
throws AdminException
exportRepositoryToFile in interface JoramAdapterMBeanexportDir - target directory where the export file will be put
AdminException - if an error occurs
public void exportRepositoryToFile(java.lang.String exportDir,
java.lang.String exportFilename)
throws AdminException
exportRepositoryToFile in interface JoramAdapterMBeanexportDir - target directory where the export file will be putexportFilename - filename of the export file
AdminException - if an error occurs
public java.lang.Short[] getServersIds()
throws java.net.ConnectException,
AdminException
getServersIds in interface JoramAdapterMBeanAdminException - If the request fails.
java.net.ConnectException - If the connection fails.
public final java.lang.String[] getServersNames()
throws java.net.ConnectException,
AdminException
getServersNames in interface JoramAdapterMBeanjava.net.ConnectException - If the connection fails.
AdminException - Never thrown.#getServers(String)
public final java.lang.String getConfiguration()
throws java.net.ConnectException,
AdminException
getConfiguration in interface JoramAdapterMBeanjava.net.ConnectException - If the connection fails.
AdminException - If the request fails.
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||