org.apache.servicemix.jbi.deployer.impl
Class ServiceAssemblyInstaller

java.lang.Object
  extended by org.apache.servicemix.jbi.deployer.impl.AbstractInstaller
      extended by org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller

public class ServiceAssemblyInstaller
extends AbstractInstaller


Field Summary
 
Fields inherited from class org.apache.servicemix.jbi.deployer.impl.AbstractInstaller
autoStart, bundle, deployer, descriptor, installRoot, isFirstInstall, isModified, jbiArtifact, LAST_INSTALL, logger, uninstallFromOsgi
 
Constructor Summary
ServiceAssemblyInstaller(Deployer deployer, Descriptor descriptor, org.apache.servicemix.common.osgi.DeployedAssembly deployedAssembly, boolean autoStart)
           
ServiceAssemblyInstaller(Deployer deployer, Descriptor descriptor, File jbiArtifact, boolean autoStart)
           
 
Method Summary
protected  List<ServiceUnitImpl> deploySUs()
           
 org.apache.servicemix.common.osgi.DeployedAssembly getDeployedAssembly()
           
 String getName()
           
 void init()
           
 ObjectName install()
           
 void stop(boolean force)
           
 void undeploy()
           
 void uninstall(boolean force)
           
 
Methods inherited from class org.apache.servicemix.jbi.deployer.impl.AbstractInstaller
deleteStorage, extractBundle, getBundle, getBundleContext, getStorage, installBundle, isAutoStart, isUninstallFromOsgi, postInstall, setAutoStart, setBundle, setUninstallFromOsgi, uninstallBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAssemblyInstaller

public ServiceAssemblyInstaller(Deployer deployer,
                                Descriptor descriptor,
                                File jbiArtifact,
                                boolean autoStart)

ServiceAssemblyInstaller

public ServiceAssemblyInstaller(Deployer deployer,
                                Descriptor descriptor,
                                org.apache.servicemix.common.osgi.DeployedAssembly deployedAssembly,
                                boolean autoStart)
Method Detail

getName

public String getName()
Specified by:
getName in class AbstractInstaller

getDeployedAssembly

public org.apache.servicemix.common.osgi.DeployedAssembly getDeployedAssembly()

init

public void init()
          throws Exception
Overrides:
init in class AbstractInstaller
Throws:
Exception

install

public ObjectName install()
                   throws javax.jbi.JBIException
Specified by:
install in class AbstractInstaller
Throws:
javax.jbi.JBIException

stop

public void stop(boolean force)
          throws Exception
Specified by:
stop in class AbstractInstaller
Throws:
Exception

uninstall

public void uninstall(boolean force)
               throws Exception
Specified by:
uninstall in class AbstractInstaller
Throws:
Exception

deploySUs

protected List<ServiceUnitImpl> deploySUs()
                                   throws Exception
Throws:
Exception

undeploy

public void undeploy()
              throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.