org.jboss.osgi.husky.runtime.osgi
Class SocketConnector
java.lang.Object
org.jboss.osgi.husky.internal.AbstractConnector
org.jboss.osgi.husky.runtime.osgi.SocketConnector
- All Implemented Interfaces:
- Connector
public class SocketConnector
- extends org.jboss.osgi.husky.internal.AbstractConnector
The socket connector is a Connector that process Husky
requests via an socket invocations.
Both, the test runner process as well as the remote target process must
configure the properties PROP_SOCKET_CONNECTOR_HOST and
PROP_SOCKET_CONNECTOR_PORT.
- Since:
- 17-May-2009
- Author:
- Thomas.Diesler@jboss.com
|
Field Summary |
static java.lang.String |
PROP_SOCKET_CONNECTOR_HOST
The Husky socket connector host poperty: 'org.jboss.osgi.husky.runtime.connector.host' |
static java.lang.String |
PROP_SOCKET_CONNECTOR_PORT
The Husky socket connector port poperty: 'org.jboss.osgi.husky.runtime.connector.port' |
| Methods inherited from class org.jboss.osgi.husky.internal.AbstractConnector |
getBundleContext, process, process |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_SOCKET_CONNECTOR_HOST
public static final java.lang.String PROP_SOCKET_CONNECTOR_HOST
- The Husky socket connector host poperty: 'org.jboss.osgi.husky.runtime.connector.host'
PROP_SOCKET_CONNECTOR_PORT
public static final java.lang.String PROP_SOCKET_CONNECTOR_PORT
- The Husky socket connector port poperty: 'org.jboss.osgi.husky.runtime.connector.port'
SocketConnector
public SocketConnector(BundleContext context)
isRemoteConnection
public static boolean isRemoteConnection(BundleContext context)
start
public void start()
throws java.lang.Exception
- Overrides:
start in class org.jboss.osgi.husky.internal.AbstractConnector
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Overrides:
stop in class org.jboss.osgi.husky.internal.AbstractConnector
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.