com.sun.star.lib.uno.bridges.java_remote
Class java_remote_bridge
java.lang.Object
|
+--com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge
- All Implemented Interfaces:
- com.sun.star.lib.sandbox.Disposable, com.sun.star.uno.IBridge, com.sun.star.lib.uno.environments.remote.IReceiver, com.sun.star.lib.uno.environments.java.IRequester, com.sun.star.bridge.XBridge, com.sun.star.uno.XInterface
- public synchronized class java_remote_bridge
- extends java.lang.Object
- implements com.sun.star.lib.sandbox.Disposable, com.sun.star.uno.IBridge, com.sun.star.lib.uno.environments.remote.IReceiver, com.sun.star.lib.uno.environments.java.IRequester, com.sun.star.bridge.XBridge
Field Summary |
private static boolean |
DEBUG
|
protected boolean |
_disposed
|
protected com.sun.star.lib.uno.environments.remote.IProtocol |
_iProtocol
|
protected com.sun.star.uno.IEnvironment |
_java_environment
|
protected int |
_life_count
|
protected com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher |
_messageDispatcher
|
protected com.sun.star.connection.XConnection |
_xConnection
|
(package private) static java.lang.Class |
class$com$sun$star$bridge$XInstanceProvider
|
(package private) static java.lang.Class |
class$com$sun$star$lib$uno$bridges$java_remote$java_remote_bridge
|
(package private) static java.lang.Class |
class$com$sun$star$lib$uno$bridges$java_remote$java_remote_bridge$Factory
|
(package private) static java.lang.Class |
class$com$sun$star$lib$uno$environments$remote$IReceiver
|
(package private) static java.lang.Class |
class$com$sun$star$uno$IBridge
|
(package private) static java.lang.Class |
class$com$sun$star$uno$XInterface
|
protected static java.lang.String |
serviceName
|
Fields inherited from interface com.sun.star.bridge.XBridge |
UIK, UNORUNTIMEDATA, UNOTYPEINFO |
Constructor Summary |
java_remote_bridge(com.sun.star.uno.IEnvironment ie1,
com.sun.star.uno.IEnvironment ie2,
java.lang.Object[] o)
|
java_remote_bridge(java.lang.Object[] o)
|
Method Summary |
(package private) static boolean |
access$0()
|
protected void |
acquire()
|
(package private) static java.lang.Class |
class$(java.lang.String s)
|
void |
dispose()
|
java.lang.String |
getDescription()
|
java.lang.Object |
getInstance(java.lang.String s)
|
int |
getLifeCount()
|
java.lang.String |
getName()
|
com.sun.star.lib.uno.environments.remote.IProtocol |
getProtocol()
|
static com.sun.star.lang.XSingleServiceFactory |
getServiceFactory(java.lang.String s,
com.sun.star.lang.XMultiServiceFactory xmsf,
com.sun.star.registry.XRegistryKey xrk)
|
com.sun.star.uno.IEnvironment |
getSourceEnvironment()
|
com.sun.star.uno.IEnvironment |
getTargetEnvironment()
|
java.lang.Object |
mapInterfaceFrom(java.lang.Object o,
java.lang.Class c)
|
java.lang.Object |
mapInterfaceTo(java.lang.Object o,
java.lang.Class c)
|
protected void |
release()
|
void |
reset()
|
void |
sendReply(com.sun.star.lib.uno.environments.remote.ThreadID tid,
int i1,
int i2,
java.lang.Object o1,
java.lang.Class c1,
java.lang.Object[] o2,
java.lang.Class[] c2)
|
java.lang.Object |
sendRequest(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.Object[] o,
java.lang.Class[] c1,
java.lang.Class c2,
java.lang.Class[] c3,
boolean b)
|
protected void |
terminate(boolean b)
|
static boolean |
writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey xrk)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static final boolean DEBUG
_disposed
protected boolean _disposed
_iProtocol
protected com.sun.star.lib.uno.environments.remote.IProtocol _iProtocol
_java_environment
protected com.sun.star.uno.IEnvironment _java_environment
_life_count
protected int _life_count
_messageDispatcher
protected com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher _messageDispatcher
_xConnection
protected com.sun.star.connection.XConnection _xConnection
class$com$sun$star$bridge$XInstanceProvider
static java.lang.Class class$com$sun$star$bridge$XInstanceProvider
class$com$sun$star$lib$uno$bridges$java_remote$java_remote_bridge
static java.lang.Class class$com$sun$star$lib$uno$bridges$java_remote$java_remote_bridge
class$com$sun$star$lib$uno$bridges$java_remote$java_remote_bridge$Factory
static java.lang.Class class$com$sun$star$lib$uno$bridges$java_remote$java_remote_bridge$Factory
class$com$sun$star$lib$uno$environments$remote$IReceiver
static java.lang.Class class$com$sun$star$lib$uno$environments$remote$IReceiver
class$com$sun$star$uno$IBridge
static java.lang.Class class$com$sun$star$uno$IBridge
class$com$sun$star$uno$XInterface
static java.lang.Class class$com$sun$star$uno$XInterface
serviceName
protected static final java.lang.String serviceName
java_remote_bridge
public java_remote_bridge(com.sun.star.uno.IEnvironment ie1,
com.sun.star.uno.IEnvironment ie2,
java.lang.Object[] o)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException
java_remote_bridge
public java_remote_bridge(java.lang.Object[] o)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException,
java.lang.Exception
access$0
static boolean access$0()
acquire
protected void acquire()
class$
static java.lang.Class class$(java.lang.String s)
dispose
public void dispose()
- Specified by:
dispose
in interface com.sun.star.lib.sandbox.Disposable
getDescription
public java.lang.String getDescription()
throws com.sun.star.uno.RuntimeException
- Specified by:
getDescription
in interface com.sun.star.bridge.XBridge
getInstance
public java.lang.Object getInstance(java.lang.String s)
throws com.sun.star.uno.RuntimeException
- Specified by:
getInstance
in interface com.sun.star.bridge.XBridge
getLifeCount
public int getLifeCount()
getName
public java.lang.String getName()
throws com.sun.star.uno.RuntimeException
- Specified by:
getName
in interface com.sun.star.bridge.XBridge
getProtocol
public com.sun.star.lib.uno.environments.remote.IProtocol getProtocol()
getServiceFactory
public static com.sun.star.lang.XSingleServiceFactory getServiceFactory(java.lang.String s,
com.sun.star.lang.XMultiServiceFactory xmsf,
com.sun.star.registry.XRegistryKey xrk)
getSourceEnvironment
public com.sun.star.uno.IEnvironment getSourceEnvironment()
- Specified by:
getSourceEnvironment
in interface com.sun.star.uno.IBridge
getTargetEnvironment
public com.sun.star.uno.IEnvironment getTargetEnvironment()
- Specified by:
getTargetEnvironment
in interface com.sun.star.uno.IBridge
mapInterfaceFrom
public java.lang.Object mapInterfaceFrom(java.lang.Object o,
java.lang.Class c)
throws com.sun.star.uno.MappingException
- Specified by:
mapInterfaceFrom
in interface com.sun.star.uno.IBridge
mapInterfaceTo
public java.lang.Object mapInterfaceTo(java.lang.Object o,
java.lang.Class c)
throws com.sun.star.uno.MappingException
- Specified by:
mapInterfaceTo
in interface com.sun.star.uno.IBridge
release
protected void release()
throws java.lang.InterruptedException,
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Specified by:
reset
in interface com.sun.star.uno.IBridge
sendReply
public void sendReply(com.sun.star.lib.uno.environments.remote.ThreadID tid,
int i1,
int i2,
java.lang.Object o1,
java.lang.Class c1,
java.lang.Object[] o2,
java.lang.Class[] c2)
throws java.io.IOException
- Specified by:
sendReply
in interface com.sun.star.lib.uno.environments.remote.IReceiver
sendRequest
public java.lang.Object sendRequest(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.Object[] o,
java.lang.Class[] c1,
java.lang.Class c2,
java.lang.Class[] c3,
boolean b)
throws java.io.IOException,
java.lang.Exception
- Specified by:
sendRequest
in interface com.sun.star.lib.uno.environments.java.IRequester
terminate
protected void terminate(boolean b)
throws java.lang.InterruptedException,
java.io.IOException
writeRegistryServiceInfo
public static boolean writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey xrk)