@Produces
@PropertyFile
public Properties produceProperty(InjectionPoint ip) {
if (ip.getAnnotated().isAnnotationPresent(PropertyFile.class)) {
PropertyFile property = ip.getAnnotated().getAnnotation(PropertyFile.class);
if (!"".endsWith(property.file())) {
this.loadProperties(property.file());
}
}
return currentProps;
}