public class BootstrapPipeConnector extends BootstrapConnector
| Constructor and Description |
|---|
BootstrapPipeConnector(OOoServer oooServer)
Constructs a bootstrap pipe connector which connects to the specified
OOo server.
|
BootstrapPipeConnector(java.lang.String oooExecFolder)
Constructs a bootstrap pipe connector which uses the specified folder of
the OOo installation containing the soffice executable.
|
| Modifier and Type | Method and Description |
|---|---|
static com.sun.star.uno.XComponentContext |
bootstrap(java.lang.String oooExecFolder)
Bootstraps a connection to an OOo server in the specified soffice
executable folder of the OOo installation using a random pipe name and
returns a component context for using the connection to the OOo server.
|
static com.sun.star.uno.XComponentContext |
bootstrap(java.lang.String oooExecFolder,
java.lang.String pipeName)
Bootstraps a connection to an OOo server in the specified soffice
executable folder of the OOo installation using the specified pipe name
and returns a component context for using the connection to OOo server.
|
com.sun.star.uno.XComponentContext |
connect()
Connects to an OOo server using a random pipe name and returns a
component context for using the connection to the OOo server.
|
com.sun.star.uno.XComponentContext |
connect(java.lang.String pipeName)
Connects to an OOo server using the specified pipe name and returns a
component context for using the connection to the OOo server.
|
bootstrap, connect, disconnectpublic BootstrapPipeConnector(java.lang.String oooExecFolder)
oooExecFolder - The folder of the OOo installation containing the soffice executablepublic BootstrapPipeConnector(OOoServer oooServer)
oooServer - The OOo serverpublic com.sun.star.uno.XComponentContext connect()
throws com.sun.star.comp.helper.BootstrapException
com.sun.star.comp.helper.BootstrapExceptionpublic com.sun.star.uno.XComponentContext connect(java.lang.String pipeName)
throws com.sun.star.comp.helper.BootstrapException
pipeName - The pipe namecom.sun.star.comp.helper.BootstrapExceptionpublic static final com.sun.star.uno.XComponentContext bootstrap(java.lang.String oooExecFolder)
throws com.sun.star.comp.helper.BootstrapException
oooExecFolder - The folder of the OOo installation containing the soffice executablecom.sun.star.comp.helper.BootstrapExceptionpublic static final com.sun.star.uno.XComponentContext bootstrap(java.lang.String oooExecFolder,
java.lang.String pipeName)
throws com.sun.star.comp.helper.BootstrapException
oooExecFolder - The folder of the OOo installation containing the soffice executablepipeName - The pipe namecom.sun.star.comp.helper.BootstrapException