public final class RemoteExternalSystemFacadeImpl<S extends ExternalSystemExecutionSettings> extends AbstractExternalSystemFacadeImpl<S>
RemoteServer.Jndi
SERVER_HOSTNAME
NULL_OBJECT
Constructor and Description |
---|
RemoteExternalSystemFacadeImpl(java.lang.Class<ExternalSystemProjectResolver<S>> projectResolverClass,
java.lang.Class<ExternalSystemTaskManager<S>> buildManagerClass) |
Modifier and Type | Method and Description |
---|---|
void |
applySettings(S settings)
Asks remote external system process to apply given settings.
|
protected <I extends RemoteExternalSystemService<S>,C extends I> |
createService(java.lang.Class<I> interfaceClass,
C impl)
Generic method to retrieve exposed implementations of the target interface.
|
static void |
main(java.lang.String[] args) |
applyProgressManager, cancelTask, getNotificationListener, getRawProjectResolver, getResolver, getSettings, getTaskManager, getTasksInProgress, init, isTaskInProgress
setupRMI, start
public RemoteExternalSystemFacadeImpl(java.lang.Class<ExternalSystemProjectResolver<S>> projectResolverClass, java.lang.Class<ExternalSystemTaskManager<S>> buildManagerClass) throws java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.InstantiationException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected <I extends RemoteExternalSystemService<S>,C extends I> I createService(java.lang.Class<I> interfaceClass, C impl) throws java.rmi.RemoteException
AbstractExternalSystemFacadeImpl
createService
in class AbstractExternalSystemFacadeImpl<S extends ExternalSystemExecutionSettings>
I
- service interface classC
- service implementationinterfaceClass
- target service interface classimpl
- service implementationjava.rmi.RemoteException
public void applySettings(S settings) throws java.rmi.RemoteException
RemoteExternalSystemFacade
applySettings
in interface RemoteExternalSystemFacade<S extends ExternalSystemExecutionSettings>
applySettings
in class AbstractExternalSystemFacadeImpl<S extends ExternalSystemExecutionSettings>
settings
- settings to applyjava.rmi.RemoteException
- in case of unexpected I/O exception during processing