com.sun.mediametadata.server
Class RunStudio
java.lang.Object
|
+--com.sun.mediametadata.server.RunStudio
- public class RunStudio
- extends java.lang.Object
Method Summary |
static java.lang.String[] |
launch(java.lang.String studioVisibleName,
java.lang.String databaseClasspath,
java.lang.String databaseDriverName,
java.lang.String databaseConnectionUrl,
java.lang.String databaseUsername,
java.lang.String databasePassword)
Launch (execute java VM subprocess) which installs a single
remote object that services this particular DB. |
static void |
main(java.lang.String[] args)
|
static void |
shutdown()
shutdown function to make it possible to exit the launcher process and cleanup any
sublaunched task. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RunStudio
public RunStudio()
launch
public static java.lang.String[] launch(java.lang.String studioVisibleName,
java.lang.String databaseClasspath,
java.lang.String databaseDriverName,
java.lang.String databaseConnectionUrl,
java.lang.String databaseUsername,
java.lang.String databasePassword)
throws java.lang.SecurityException,
java.io.IOException,
AMSException
- Launch (execute java VM subprocess) which installs a single
remote object that services this particular DB. The launch
occurs synchronously, i.e. returns true when the pump is registered
and available. Returns false if the subprocess terminated with
some kind of error. Throws a security exception if the
subprocess cannot be launched. Returns null upon SUCCESSFUL
launch, otherwise returns an array of Strings describing cause for failure.
shutdown
public static void shutdown()
- shutdown function to make it possible to exit the launcher process and cleanup any
sublaunched task.
main
public static void main(java.lang.String[] args)