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
| 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 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 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 Exception
- Overrides:
start in class org.jboss.osgi.husky.internal.AbstractConnector
- Throws:
Exception
stop
public void stop()
throws Exception
- Overrides:
stop in class org.jboss.osgi.husky.internal.AbstractConnector
- Throws:
Exception
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.