You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2013/03/27 10:36:40 UTC
svn commit: r1461471 -
/stanbol/trunk/entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/yard/AbstractYard.java
Author: rwesten
Date: Wed Mar 27 09:36:40 2013
New Revision: 1461471
URL: http://svn.apache.org/r1461471
Log:
STANBOL-997: YardConfig now allows access to the Dictionary storing the config - needed to copy over the config from the Component to the service
Modified:
stanbol/trunk/entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/yard/AbstractYard.java
Modified: stanbol/trunk/entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/yard/AbstractYard.java
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/yard/AbstractYard.java?rev=1461471&r1=1461470&r2=1461471&view=diff
==============================================================================
--- stanbol/trunk/entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/yard/AbstractYard.java (original)
+++ stanbol/trunk/entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/yard/AbstractYard.java Wed Mar 27 09:36:40 2013
@@ -464,6 +464,15 @@ public abstract class AbstractYard imple
}
}
/**
+ * Getter for the {@link Dictionary} used to store the configuration
+ * wrapped by this API
+ * @return the configuration
+ */
+ public final Dictionary<String,Object> getDictionary(){
+ return this.config;
+ }
+
+ /**
* Checks if the configuration is valid and throws a {@link ConfigurationException}
* if not.<p>
* This method checks the {@link Yard#ID} property and than calls