/** * Create a new ManifestDeployer * * @param output the output * @throws IllegalArgumentException for a null output */ protected ManifestDeployer(Class<T> output) { super(output); setName("MANIFEST.MF"); }
public void internalUndeploy(DeploymentUnit unit) { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; undeploy(vfsDeploymentUnit); }
/** * Create lifecycle * * @throws Exception for any problem */ public void create() throws Exception { context = createContext(); }
@Override protected T parse(DeploymentUnit unit, String name, T root) throws Exception { if (ignoreName(unit, name)) return null; // Try to find the metadata VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; VirtualFile file = getMetadataFile(vfsDeploymentUnit, getOutput(), name, true); return (file != null && ignoreFile(vfsDeploymentUnit, file) == false) ? parseAndInit(vfsDeploymentUnit, file, root) : null; }
public void deploy(DeploymentUnit unit, T deployment) throws DeploymentException { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; deploy(vfsDeploymentUnit, deployment); }
public void internalDeploy(DeploymentUnit unit) throws DeploymentException { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; deploy(vfsDeploymentUnit); }
@Override public void undeploy(DeploymentUnit unit, T deployment) { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; undeploy(vfsDeploymentUnit, deployment); }
@Override public void deploy(DeploymentUnit unit, T deployment) throws DeploymentException { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; deploy(vfsDeploymentUnit, deployment); }
@Override public void undeploy(DeploymentUnit unit, T deployment) { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; undeploy(vfsDeploymentUnit, deployment); }
/** * Destroy lifecycle */ public void destroy() { super.destroy(); templates = null; }
/** * Create a new SchemaResolverDeployer. * * @param output the output * @throws IllegalArgumentException for a null output */ public JBossXBDeployer(Class<T> output) { super(output); helper = createHelper(); }
/** * TODO: the BeanDeployer needs to build up the ManagedObject from the mc metadata. */ @Override public void build(DeploymentUnit unit, Map<String, ManagedObject> managedObjects) throws DeploymentException { super.build(unit, managedObjects); }
/** * Create a new ManifestDeployer * * @param output the output * @throws IllegalArgumentException for a null output */ protected ManifestDeployer(Class<T> output) { super(output); setName("MANIFEST.MF"); }
public void internalUndeploy(DeploymentUnit unit) { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; undeploy(vfsDeploymentUnit); }
public void deploy(DeploymentUnit unit, T deployment) throws DeploymentException { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; deploy(vfsDeploymentUnit, deployment); }
public void internalDeploy(DeploymentUnit unit) throws DeploymentException { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; deploy(vfsDeploymentUnit); }
@Override public void undeploy(DeploymentUnit unit, T deployment) { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; undeploy(vfsDeploymentUnit, deployment); }
@Override public void deploy(DeploymentUnit unit, T deployment) throws DeploymentException { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; deploy(vfsDeploymentUnit, deployment); }
@Override public void undeploy(DeploymentUnit unit, T deployment) { if (unit instanceof VFSDeploymentUnit == false) return; VFSDeploymentUnit vfsDeploymentUnit = (VFSDeploymentUnit) unit; undeploy(vfsDeploymentUnit, deployment); }