|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.ooo.BootstrapConnector
com.jurismarches.vradi.services.ooo.BootstrapSocketConnector
public class BootstrapSocketConnector
A Bootstrap Connector which uses a socket to connect to an OOo server.
| Constructor Summary | |
|---|---|
BootstrapSocketConnector(OOoServer oooServer)
Constructs a bootstrap socket connector which connects to the specified OOo server. |
|
BootstrapSocketConnector(java.lang.String oooExecFolder)
Constructs a bootstrap socket connector which uses the folder of the OOo installation containing the soffice executable. |
|
| Method Summary | |
|---|---|
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 default socket 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 host,
int port)
Bootstraps a connection to an OOo server in the specified soffice executable folder of the OOo installation using the specified host and port for the socket and returns a component context for using the connection to the OOo server. |
com.sun.star.uno.XComponentContext |
connect()
Connects to an OOo server using a default socket and returns a component context for using the connection to the OOo server. |
com.sun.star.uno.XComponentContext |
connect(java.lang.String host,
int port)
Connects to an OOo server using the specified host and port for the socket and returns a component context for using the connection to the OOo server. |
| Methods inherited from class com.jurismarches.vradi.services.ooo.BootstrapConnector |
|---|
bootstrap, connect, disconnect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapSocketConnector(java.lang.String oooExecFolder)
oooExecFolder - The folder of the OOo installation containing the soffice executablepublic BootstrapSocketConnector(OOoServer oooServer)
oooServer - The OOo server| Method Detail |
|---|
public com.sun.star.uno.XComponentContext connect()
throws com.sun.star.comp.helper.BootstrapException
com.sun.star.comp.helper.BootstrapException
public com.sun.star.uno.XComponentContext connect(java.lang.String host,
int port)
throws com.sun.star.comp.helper.BootstrapException
host - The hostport - The port
com.sun.star.comp.helper.BootstrapException
public 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 executable
com.sun.star.comp.helper.BootstrapException
public static final com.sun.star.uno.XComponentContext bootstrap(java.lang.String oooExecFolder,
java.lang.String host,
int port)
throws com.sun.star.comp.helper.BootstrapException
oooExecFolder - The folder of the OOo installation containing the soffice executablehost - The hostport - The port
com.sun.star.comp.helper.BootstrapException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||