org.ow2.petals.jbi.management.deployment
Class AtomicDeploymentServiceImpl

java.lang.Object
  extended by org.ow2.petals.jbi.management.deployment.AtomicDeploymentServiceImpl
All Implemented Interfaces:
AtomicDeploymentService

public class AtomicDeploymentServiceImpl
extends java.lang.Object
implements AtomicDeploymentService

This simple deployment service hides all the JMX stuff and the reports handling. When something is OK it returns 'true', if not then 'false' (Waow, this is powerful!!! :D ). It is deicated to be used with only a SA at a time, no more lists...

Author:
Christophe HAMERLING - eBM WebSourcing

Constructor Summary
AtomicDeploymentServiceImpl()
           
 
Method Summary
 boolean deploy(java.net.URL saURL)
           
 boolean shutdown(java.lang.String saId)
           
 void start()
           
 boolean start(java.lang.String saId)
           
 void stop()
           
 boolean stop(java.lang.String saId)
           
 boolean undeploy(java.lang.String saId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomicDeploymentServiceImpl

public AtomicDeploymentServiceImpl()
Method Detail

start

public void start()

stop

public void stop()

deploy

public boolean deploy(java.net.URL saURL)
               throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
deploy in interface AtomicDeploymentService
Throws:
org.ow2.petals.kernel.api.server.PetalsException

shutdown

public boolean shutdown(java.lang.String saId)
                 throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
shutdown in interface AtomicDeploymentService
Throws:
org.ow2.petals.kernel.api.server.PetalsException

start

public boolean start(java.lang.String saId)
              throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
start in interface AtomicDeploymentService
Throws:
org.ow2.petals.kernel.api.server.PetalsException

stop

public boolean stop(java.lang.String saId)
             throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
stop in interface AtomicDeploymentService
Throws:
org.ow2.petals.kernel.api.server.PetalsException

undeploy

public boolean undeploy(java.lang.String saId)
                 throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
undeploy in interface AtomicDeploymentService
Throws:
org.ow2.petals.kernel.api.server.PetalsException


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