|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.admin.remote.RemoteConfigProxy
public class RemoteConfigProxy
Constructor Summary | |
---|---|
RemoteConfigProxy()
|
|
RemoteConfigProxy(RemoteConfigURL url)
Construct the proxy with RemoteConfigURL |
|
RemoteConfigProxy(String ip,
int port,
String path,
String username,
String password)
|
Method Summary | |
---|---|
Hashtable[] |
getAvailableSystemComponents(int type)
|
Vector |
getRemoteInstances()
Returns a Vector of the file names of all configurations in the codebase folder com.ibm.di.config.codebase The configurations file paths returned are relative to the TDI Server configuration codebase folder. |
String |
getServerInfo()
|
boolean |
killProcess()
|
MetamergeConfig |
newRemote()
Creates a new empty configuration, immediately checks it out and loads a temporary Config Instance on the Server. |
MetamergeConfig |
openRemote()
Loads a configuration for editing on a Remote TDI Server and starts a temporary Config Instance on the Server |
MetamergeConfig |
openRemote(RemoteConfigURL remoteURL)
Loads a configuration for editing on a Remote TDI Server and starts a temporary Config Instance on the Server |
void |
runRemoteTask(ExecuteTask et,
String type,
String name,
Entry inputData)
Run remote task AL or EH |
boolean |
saveRemote(MetamergeConfig mc,
boolean saveAndClose)
Check in the specified configuration and leaves it checked out by invoking server's api method checkInAndLeaveCheckedOut if saveAndClose is false and checkInConfiguration if saveAndClose is true |
boolean |
undoCheckOutConfig()
Releases the lock on the specified configuration, aborting all changes being done by executing server's api method undoCheckOut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteConfigProxy()
public RemoteConfigProxy(RemoteConfigURL url)
url
- url representing remote file
Exception
- throws an exception if the url is malformed or
the server is downpublic RemoteConfigProxy(String ip, int port, String path, String username, String password) throws MalformedURLException
MalformedURLException
Method Detail |
---|
public MetamergeConfig newRemote() throws Exception
Exception
- if new config cannot be created on the remote serverpublic boolean undoCheckOutConfig()
public boolean saveRemote(MetamergeConfig mc, boolean saveAndClose) throws Exception
mc
- the Metamerge Config to be Checks insaveAndClose
-
Exception
public MetamergeConfig openRemote() throws Exception
Exception
public MetamergeConfig openRemote(RemoteConfigURL remoteURL) throws Exception
Exception
public Vector getRemoteInstances() throws RemoteException, DIException
DIException,
- RemoteException
RemoteException
DIException
public Hashtable[] getAvailableSystemComponents(int type) throws RemoteException, DIException
type
- type of folder
Exception
RemoteException
DIException
public String getServerInfo() throws RemoteException, DIException
Exception
RemoteException
DIException
public boolean killProcess()
public void runRemoteTask(ExecuteTask et, String type, String name, Entry inputData) throws Exception
et
- The ExecuteTask object created on clicking run AL/EHtype
- AL or EHname
- name of the excutable unit(AL/EH name)
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |