@Override public void clean(String typeName) { partialbeanBindingConfigurations.remove(typeName); for (DeltaspikePartialbeanBindingConfiguration c : partialbeanBindingConfigurations.values()) { c.clear(typeName); } }
@Override public void computeAnnotationKind(AnnotationDefinition annotation) { if (annotation.isAnnotationPresent(PARTIALBEAN_BINDING_ANNOTATION_TYPE_NAME)) { annotation.setExtendedKind(PARTIALBEAN_BINDING_ANNOTATION_KIND); String qn = annotation.getType().getFullyQualifiedName(); DeltaspikePartialbeanBindingConfiguration c = getConfiguration(qn); c.setPartialbeanBindingTypeDefinition(annotation, this); if (!annotation.getType().isBinary()) { IPath newPath = annotation.getType().getResource().getFullPath(); Set<IPath> ps = c.getInvolvedTypes(); for (IPath p : ps) { getRootContext().addDependency(p, newPath); getRootContext().addDependency(newPath, p); } ps.add(newPath); } } }