|
TIBCO Enterprise Message Service | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tibco.tibjms.admin.Configuration
public class Configuration
A Configuration object represents a server configuration. Configuration objects can be created locally and used to update a server's configuration, or retrieved from a server.
| Method Summary | |
|---|---|
byte[] |
getAsBytes()
Returns the contents of this configuration object. |
java.lang.String |
getAsString()
Returns the contents of this configuration object. |
void |
loadFromFile(java.lang.String fileName)
Loads the contents of a file in a configuration object. |
void |
set(byte[] configurationBytes)
Sets the contents of this configuration object. |
void |
set(java.lang.String configurationString)
Sets the contents of this configuration object. |
void |
writeToFile(java.lang.String fileName)
Writes the contents of a configuration object to a file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public byte[] getAsBytes()
public java.lang.String getAsString()
public void set(java.lang.String configurationString)
A - string containing the configuration this object will represent.
TibjmsAdminException - if not authorized or an error occurred.public void set(byte[] configurationBytes)
A - byte array containing the configuration this object will
represent.
TibjmsAdminException - if not authorized or an error occurred.
public void loadFromFile(java.lang.String fileName)
throws TibjmsAdminException,
java.io.FileNotFoundException,
java.io.IOException
The - filename of the file to load.
TibjmsAdminException - if not authorized or an error occurred.
java.io.FileNotFoundException
java.io.IOException
public void writeToFile(java.lang.String fileName)
throws java.lang.Exception
The - filename of the file to create.
TibjmsAdminException - if not authorized or an error occurred.
java.lang.Exception
|
TIBCO Enterprise Message Service | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||