org.gcube.common.vremanagement.deployer.impl
Class Deployer

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEPortType
      extended by org.gcube.common.vremanagement.deployer.impl.Deployer
All Implemented Interfaces:
javax.xml.rpc.server.ServiceLifecycle

public class Deployer
extends org.gcube.common.core.porttypes.GCUBEPortType

Implementation of the Deployer Port-type

Author:
Manuele Simi (CNR)

Nested Class Summary
protected  class Deployer.DeployerScheduler
           
 
Field Summary
protected  org.gcube.common.core.utils.logging.GCUBELog logger
          object logger
static String SINGLETON_RESOURCE_KEY
          the name of the singleton resource
 
Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType
initialized
 
Constructor Summary
Deployer()
           
 
Method Summary
 void deploy(org.gcube.common.vremanagement.deployer.stubs.deployer.DeployParameters params)
          Deploys new packages on the GHN
protected  org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
           
 void patch(org.gcube.common.vremanagement.deployer.stubs.deployer.PatchParameters params)
          Patches a single file on the GHN
 void undeploy(org.gcube.common.vremanagement.deployer.stubs.deployer.UndeployParameters params)
          Undeploys packages from the GHN
 void update(org.gcube.common.vremanagement.deployer.stubs.deployer.UpdateParameters params)
          Updates packages on the GHN
 
Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType
destroy, init, onFailure, onInitialisation, onReady, onStateChange, onUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON_RESOURCE_KEY

public static final String SINGLETON_RESOURCE_KEY
the name of the singleton resource

See Also:
Constant Field Values

logger

protected final org.gcube.common.core.utils.logging.GCUBELog logger
object logger

Constructor Detail

Deployer

public Deployer()
Method Detail

getServiceContext

protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType

deploy

public void deploy(org.gcube.common.vremanagement.deployer.stubs.deployer.DeployParameters params)
            throws org.gcube.common.core.faults.GCUBEFault
Deploys new packages on the GHN

Parameters:
params - a DeployParameters instance
Throws:
org.gcube.common.core.faults.GCUBEFault - if something fails in the input parameters or in the deployment operation

undeploy

public void undeploy(org.gcube.common.vremanagement.deployer.stubs.deployer.UndeployParameters params)
              throws org.gcube.common.core.faults.GCUBEFault
Undeploys packages from the GHN

Parameters:
params - a UndeployParameters instance
Throws:
org.gcube.common.core.faults.GCUBEFault

update

public void update(org.gcube.common.vremanagement.deployer.stubs.deployer.UpdateParameters params)
            throws org.gcube.common.core.faults.GCUBEFault
Updates packages on the GHN

Parameters:
params - a UpdateParameters instance
Throws:
org.gcube.common.core.faults.GCUBEFault - if the operation fails

patch

public void patch(org.gcube.common.vremanagement.deployer.stubs.deployer.PatchParameters params)
           throws org.gcube.common.core.faults.GCUBEFault
Patches a single file on the GHN

Parameters:
params - a PatchParameters instance
Throws:
org.gcube.common.core.faults.GCUBEFault


Copyright © 2013. All Rights Reserved.