private AbstractDeployment createSimpleDeployment(String name) { AbstractDeployment unit = new AbstractDeployment(name); // There is one top level deployment factory.addContext(unit, ""); return unit; }
/** * Create a new classpath * * @param path the path * @return the classpath * @throws IllegalArgumentException for a null path */ public static List<ClassPathEntry> createClassPath(String path) { return Collections.singletonList(createClassPathEntry(path)); }
/** * Add a context to a deployment * * @param context the context * @param path the path * @param metaDataPath the meta data path * @param classPath the classpath * @return the context info * @throws IllegalArgumentException for a null parameter */ public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, String metaDataPath, List<ClassPathEntry> classPath) { StructureMetaData structure = assureStructure(context); MetaDataEntry entry = createMetaDataPathEntry(metaDataPath); ContextInfo result = StructureMetaDataFactory.createContextInfo(path, entry, classPath); structure.addContext(result); return result; }
/** * Add a context to a deployment * * @param context the context * @param path the path * @return the context info * @throws IllegalArgumentException for a null parameter */ public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path) { StructureMetaData structure = assureStructure(context); ContextInfo result = StructureMetaDataFactory.createContextInfo(path); structure.addContext(result); return result; }
/** * Add a context to a deployment * * @param context the context * @param path the path * @param classPath the classpath * @return the context info * @throws IllegalArgumentException for a null parameter */ public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<ClassPathEntry> classPath) { StructureMetaData structure = assureStructure(context); ContextInfo result = StructureMetaDataFactory.createContextInfo(path, classPath); structure.addContext(result); return result; }
/** * Creates simple web deployment using deployers client api. * * @param name deployment name * @return new deployment */ private Deployment createSimpleDeployment(final String name) { final Deployment unit = new AbstractDeployment(name); this.factory.addContext(unit, ""); return unit; }
/** * Add a context to a deployment * * @param context the context * @param path the path * @param metaDataPath the meta data path * @param classPath the classpath * @return the context info * @throws IllegalArgumentException for a null parameter */ public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<String> metaDataPath, List<ClassPathEntry> classPath) { StructureMetaData structure = assureStructure(context); ContextInfo result = StructureMetaDataFactory.createContextInfo(path, metaDataPath, classPath); structure.addContext(result); return result; }
/** * Create a new classpath * * @param path the path * @param suffixes the suffixes * @return the classpath * @throws IllegalArgumentException for a null path */ public static List<ClassPathEntry> createClassPath(String path, String suffixes) { return Collections.singletonList(createClassPathEntry(path, suffixes)); }
private AbstractDeployment createSimpleDeployment(String name) { AbstractDeployment unit = new AbstractDeployment(name); // There is one top level deployment factory.addContext(unit, ""); return unit; }
private AbstractDeployment createSimpleDeployment(String name) { AbstractDeployment unit = new AbstractDeployment(name); // There is one top level deployment factory.addContext(unit, ""); return unit; }
private AbstractDeployment createSimpleDeployment(String name) { AbstractDeployment unit = new AbstractDeployment(name); // There is one top level deployment factory.addContext(unit, ""); return unit; }