org.apache.servicemix.jbi.container
Class DeploySupport

java.lang.Object
  extended by org.apache.servicemix.jbi.container.DeploySupport
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
DeployServiceAssembly, InstallComponent, InstallSharedLibrary

public abstract class DeploySupport
extends Object
implements org.springframework.beans.factory.InitializingBean

Version:
$Revision: 1.1 $

Constructor Summary
DeploySupport()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  String createFile()
           
protected  String createVersion()
           
 void deploy(JBIContainer container)
           
protected abstract  void doDeploy()
           
 String getArtifactId()
           
 AdminCommandsService getCommandsService()
           
 String getFile()
           
protected  String getFilePrefix()
           
 String getGroupId()
           
 String getHomeDir()
           
 JBIContainer getJbiContainer()
           
 String getRepositoryDir()
           
 String getType()
           
 String getVersion()
           
 boolean isDeferException()
           
protected  boolean isFileUrlFormat()
           
 void setArtifactId(String artifactId)
           
 void setCommandsService(AdminCommandsService commandsService)
           
 void setDeferException(boolean deferException)
           
 void setFile(String file)
           
 void setGroupId(String groupId)
           
 void setHomeDir(String homeDir)
           
 void setJbiContainer(JBIContainer jbiContainer)
           
 void setRepositoryDir(String repositoryDir)
           
 void setType(String type)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploySupport

public DeploySupport()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

deploy

public void deploy(JBIContainer container)
            throws Exception
Throws:
Exception

getJbiContainer

public JBIContainer getJbiContainer()

setJbiContainer

public void setJbiContainer(JBIContainer jbiContainer)

getCommandsService

public AdminCommandsService getCommandsService()

setCommandsService

public void setCommandsService(AdminCommandsService commandsService)

isDeferException

public boolean isDeferException()

setDeferException

public void setDeferException(boolean deferException)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

getHomeDir

public String getHomeDir()

setHomeDir

public void setHomeDir(String homeDir)

getRepositoryDir

public String getRepositoryDir()

setRepositoryDir

public void setRepositoryDir(String repositoryDir)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getFile

public String getFile()

setFile

public void setFile(String file)

getType

public String getType()

setType

public void setType(String type)

doDeploy

protected abstract void doDeploy()
                          throws Exception
Throws:
Exception

createFile

protected String createFile()

createVersion

protected String createVersion()

getFilePrefix

protected String getFilePrefix()

isFileUrlFormat

protected boolean isFileUrlFormat()


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