org.ow2.petals.admin.api.artifact.lifecycle
Interface ArtifactLifecycle

All Known Implementing Classes:
ComponentLifecycle, ServiceAssemblyLifecycle, SharedLibraryLifecycle

public interface ArtifactLifecycle


Method Summary
 void deploy(java.net.URL artifactUrl)
          Install/deploy the artefact
 void shutdown()
          Shutdown the artefact
 void start()
          Start the artefact
 void stop()
          Stop the artefact
 void undeploy()
          Undeploy the artefact
 void updateState()
          Update the state of the artefact (if there is one)
 

Method Detail

deploy

void deploy(java.net.URL artifactUrl)
            throws ArtifactAdministrationException
Install/deploy the artefact

Throws:
ArtifactAdministrationException

start

void start()
           throws ArtifactAdministrationException
Start the artefact

Throws:
ArtifactAdministrationException

stop

void stop()
          throws ArtifactAdministrationException
Stop the artefact

Throws:
ArtifactAdministrationException

undeploy

void undeploy()
              throws ArtifactAdministrationException
Undeploy the artefact

Throws:
ArtifactAdministrationException

shutdown

void shutdown()
              throws ArtifactAdministrationException
Shutdown the artefact

Throws:
ArtifactAdministrationException

updateState

void updateState()
                 throws ArtifactAdministrationException
Update the state of the artefact (if there is one)

Throws:
ArtifactAdministrationException


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.