/** * Create some meta data. Calls createMetaData(unit, name, suffix, getDeploymentType().getName()). * * @param unit the deployment unit * @param name the name * @param suffix the suffix * @throws DeploymentException for any error */ protected void createMetaData(DeploymentUnit unit, String name, String suffix) throws DeploymentException { createMetaData(unit, name, suffix, getAttachmentKey()); }
/** * Create some meta data. Calls createMetaData(unit, name, suffix, getDeploymentType().getName()). * * @param unit the deployment unit * @param names the names * @param suffix the suffix * @throws DeploymentException for any error */ protected void createMetaData(DeploymentUnit unit, Set<String> names, String suffix) throws DeploymentException { createMetaData(unit, names, suffix, getAttachmentKey()); }