org.duracloud.servicesutil.util.internal
Class ServiceInstallBase

java.lang.Object
  extended by org.duracloud.servicesutil.util.internal.ServiceInstallBase
Direct Known Subclasses:
ServiceInstallerImpl, ServiceUninstallerImpl

public abstract class ServiceInstallBase
extends java.lang.Object

Author:
Andrew Woods Date: Oct 1, 2009

Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
ServiceInstallBase()
           
 
Method Summary
 BundleHome getBundleHome()
           
protected abstract  void init()
           
protected  boolean isJar(java.lang.String name)
           
protected  boolean isWar(java.lang.String name)
           
protected  boolean isZip(java.lang.String name)
           
 void setBundleHome(BundleHome bundleHome)
           
protected  void throwServiceException(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log
Constructor Detail

ServiceInstallBase

public ServiceInstallBase()
Method Detail

init

protected abstract void init()
                      throws java.lang.Exception
Throws:
java.lang.Exception

isJar

protected boolean isJar(java.lang.String name)
                 throws ServiceException
Throws:
ServiceException

isWar

protected boolean isWar(java.lang.String name)
                 throws ServiceException
Throws:
ServiceException

isZip

protected boolean isZip(java.lang.String name)
                 throws ServiceException
Throws:
ServiceException

throwServiceException

protected void throwServiceException(java.lang.String msg)
                              throws ServiceException
Throws:
ServiceException

getBundleHome

public BundleHome getBundleHome()

setBundleHome

public void setBundleHome(BundleHome bundleHome)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009-2010 DuraSpace. All Rights Reserved.