org.jboss.system.server.profileservice.repository
Class MainDeployerAdapter

java.lang.Object
  extended by org.jboss.system.server.profileservice.repository.MainDeployerAdapter

public class MainDeployerAdapter
extends Object

A basic adapter for the MainDeployer.

Version:
$Revision: 89127 $
Author:
Emanuel Muckenhuber

Constructor Summary
MainDeployerAdapter()
           
 
Method Summary
 void addDeployment(org.jboss.profileservice.spi.ProfileDeployment deployment)
          Add a deployment.
 void checkComplete()
          CheckComplete
 void checkComplete(String... names)
          Check complete
 void create()
           
 AttachmentStore getAttachmentStore()
           
 org.jboss.deployers.client.spi.main.MainDeployer getMainDeployer()
           
protected  org.jboss.deployers.client.spi.Deployment loadDeploymentData(org.jboss.profileservice.spi.ProfileDeployment deployment)
          Create a MC deployment and load the persisted attachment data.
 void process()
          Process ...
 void removeDeployment(org.jboss.profileservice.spi.ProfileDeployment deployment)
           
 void removeDeployment(String name)
          Remove a deployment.
 void setAttachmentStore(AttachmentStore store)
           
 void setMainDeployer(org.jboss.deployers.client.spi.main.MainDeployer mainDeployer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainDeployerAdapter

public MainDeployerAdapter()
Method Detail

getAttachmentStore

public AttachmentStore getAttachmentStore()

setAttachmentStore

public void setAttachmentStore(AttachmentStore store)

getMainDeployer

public org.jboss.deployers.client.spi.main.MainDeployer getMainDeployer()

setMainDeployer

public void setMainDeployer(org.jboss.deployers.client.spi.main.MainDeployer mainDeployer)

create

public void create()
            throws Exception
Throws:
Exception

addDeployment

public void addDeployment(org.jboss.profileservice.spi.ProfileDeployment deployment)
                   throws Exception
Add a deployment.

Parameters:
deployment - the profile deployment.
Throws:
Exception

removeDeployment

public void removeDeployment(String name)
                      throws org.jboss.deployers.spi.DeploymentException
Remove a deployment.

Parameters:
name - the deployment name.
Throws:
org.jboss.deployers.spi.DeploymentException

removeDeployment

public void removeDeployment(org.jboss.profileservice.spi.ProfileDeployment deployment)
                      throws Exception
Throws:
Exception

process

public void process()
Process ...


checkComplete

public void checkComplete(String... names)
                   throws org.jboss.deployers.spi.DeploymentException
Check complete

Parameters:
names - the deployment names
Throws:
DeploymentExcetion
org.jboss.deployers.spi.DeploymentException

checkComplete

public void checkComplete()
                   throws org.jboss.deployers.spi.DeploymentException
CheckComplete

Throws:
org.jboss.deployers.spi.DeploymentException

loadDeploymentData

protected org.jboss.deployers.client.spi.Deployment loadDeploymentData(org.jboss.profileservice.spi.ProfileDeployment deployment)
                                                                throws Exception
Create a MC deployment and load the persisted attachment data.

Parameters:
deployment - the profile deployment.
Returns:
the MC deployment.
Throws:
Exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.