public class HostConnectorFinder
extends java.lang.Object
com.microfocus.awm.zconnector and creates an instance of an
IHostConnector implementation.| Constructor and Description |
|---|
HostConnectorFinder() |
| Modifier and Type | Method and Description |
|---|---|
static IHostConnector |
getHostConnector(java.lang.Class<?> pClass)
Returns an
IHostConnector for the given ISystemImage. |
static IHostConnector |
getHostConnectorFromSystemName(java.lang.String pRemoteSystemName)
Goes through all host connector extensions and returns the first
connector that returns an
ISystemImage for the given remote
system name. |
static IHostConnector |
getImplementedConnector()
Deprecated.
Use
getHostConnector(Class) instead. |
static ISystemImage |
getSystemImageFromSystemName(java.lang.String pRemoteSystemName)
First calls
getHostConnectorFromSystemName(String) to get a host
connector and then ISystemUtilities.getSystemFromName(String). |
@Deprecated public static IHostConnector getImplementedConnector() throws TaurusCoreException
getHostConnector(Class) instead.IHostConnector that has been defined by an
com.microfocus.awm.zconnector extension.IHostConnector.TaurusCoreException - if no host connector extension was found.public static IHostConnector getHostConnector(java.lang.Class<?> pClass) throws TaurusCoreException
IHostConnector for the given ISystemImage. The
host connector will be searched by looking for
com.microfocus.awm.zconnector extensions.pClass - an ISystemImage.IHostConnector.TaurusCoreException - if no IHostConnector extension was found.public static IHostConnector getHostConnectorFromSystemName(java.lang.String pRemoteSystemName) throws TaurusCoreException
ISystemImage for the given remote
system name.pRemoteSystemName - the name of the remote system (RSE connection)ISystemImageTaurusCoreException - if no host connector was found for the given remote system
nameISystemUtilities.getSystemFromName(String)public static ISystemImage getSystemImageFromSystemName(java.lang.String pRemoteSystemName) throws TaurusCoreException
getHostConnectorFromSystemName(String) to get a host
connector and then ISystemUtilities.getSystemFromName(String).pRemoteSystemName - the name of the remote system (RSE connection)ISystemImageTaurusCoreException - if no system image was found for the remote system nmaeCopyright © 2015 Micro Focus GmbH. All rights reserved.