From 8a8b457c98e207d809a7616e73eb59bfe197a7a5 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 31 Mar 2016 11:43:21 -0400 Subject: More code maintenance --- .../main/java/bjc/utils/components/IComponentRepository.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/IComponentRepository.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/components/IComponentRepository.java b/BJC-Utils2/src/main/java/bjc/utils/components/IComponentRepository.java index 3e284e6..04ff51b 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/components/IComponentRepository.java +++ b/BJC-Utils2/src/main/java/bjc/utils/components/IComponentRepository.java @@ -28,6 +28,16 @@ public interface IComponentRepository { */ public Map getComponents(); + /** + * Get a component with a specific name + * + * @param name + * The name of the component to retrieve + * @return The named component, or null if no component with that name + * exists + */ + public E getComponentByName(String name); + /** * Get the source from which these components came * -- cgit v1.2.3