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

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

public class SharedLibraryInstaller
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
SharedLibraryInstaller(Deployer deployer, Descriptor descriptor, java.io.File jbiArtifact, boolean autoStart)
           
 
Method Summary
protected  java.lang.ClassLoader createClassLoader()
           
 java.lang.String getName()
           
 javax.management.ObjectName install()
           
 void stop(boolean force)
           
 void uninstall()
           
 void uninstall(boolean force)
           
 
Methods inherited from class org.apache.servicemix.jbi.deployer.impl.AbstractInstaller
deletePreferences, extractBundle, getBundle, getBundleContext, getPreferences, init, 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

SharedLibraryInstaller

public SharedLibraryInstaller(Deployer deployer,
                              Descriptor descriptor,
                              java.io.File jbiArtifact,
                              boolean autoStart)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class AbstractInstaller

install

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

uninstall

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

stop

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

uninstall

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

createClassLoader

protected java.lang.ClassLoader createClassLoader()


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