[Minor] reorganized classes for Agent into api and impl packages
This commit is contained in:
parent
51fac6a0cf
commit
ebc9b59dd1
|
@ -3,8 +3,8 @@ package li.strolch.persistence.mock;
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
import li.strolch.runtime.StrolchConstants;
|
import li.strolch.runtime.StrolchConstants;
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
|
|
||||||
public class PersistenceHandlerMock extends StrolchComponent implements PersistenceHandler {
|
public class PersistenceHandlerMock extends StrolchComponent implements PersistenceHandler {
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
|
@ -13,7 +13,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
import li.strolch.model.Order;
|
import li.strolch.model.Order;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
|
|
|
@ -13,11 +13,14 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
|
import li.strolch.runtime.agent.impl.DataStoreMode;
|
||||||
|
import li.strolch.runtime.agent.impl.ElementMapHandlerConfigurator;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.ConfigurationParser;
|
import li.strolch.runtime.configuration.ConfigurationParser;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
|
@ -13,10 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.api;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
|
@ -13,13 +13,17 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import li.strolch.exception.StrolchException;
|
import li.strolch.exception.StrolchException;
|
||||||
import li.strolch.runtime.StrolchConstants;
|
import li.strolch.runtime.StrolchConstants;
|
||||||
|
import li.strolch.runtime.agent.api.ElementMapHandler;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -1,4 +1,4 @@
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
@ -7,6 +7,7 @@ import li.strolch.model.StrolchElement;
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.persistence.api.StrolchDao;
|
import li.strolch.persistence.api.StrolchDao;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
|
import li.strolch.runtime.agent.api.ElementMap;
|
||||||
|
|
||||||
public abstract class AbstractTransactionalElementMap<T extends StrolchElement> implements ElementMap<T> {
|
public abstract class AbstractTransactionalElementMap<T extends StrolchElement> implements ElementMap<T> {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -25,6 +25,8 @@ import li.strolch.persistence.api.OrderDao;
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.persistence.api.ResourceDao;
|
import li.strolch.persistence.api.ResourceDao;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
import ch.eitchnet.utils.helper.StringHelper;
|
import ch.eitchnet.utils.helper.StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
@ -21,6 +21,8 @@ import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
|
import li.strolch.runtime.agent.api.ElementMapHandler;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
@ -22,6 +22,12 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
|
import li.strolch.runtime.agent.api.ComponentState;
|
||||||
|
import li.strolch.runtime.agent.api.ElementMapHandler;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.StrolchConfiguration;
|
import li.strolch.runtime.configuration.StrolchConfiguration;
|
||||||
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
|
@ -13,12 +13,13 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
||||||
|
|
||||||
public class ComponentController {
|
public class ComponentController {
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
|
|
|
@ -13,8 +13,9 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,13 +13,15 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.ElementMapHandler;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
|
|
|
@ -13,11 +13,13 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import li.strolch.model.Order;
|
import li.strolch.model.Order;
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
import li.strolch.model.xml.StrolchElementListener;
|
import li.strolch.model.xml.StrolchElementListener;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -24,6 +24,7 @@ import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import li.strolch.model.StrolchElement;
|
import li.strolch.model.StrolchElement;
|
||||||
|
import li.strolch.runtime.agent.api.ElementMap;
|
||||||
import ch.eitchnet.utils.helper.StringHelper;
|
import ch.eitchnet.utils.helper.StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -13,11 +13,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import li.strolch.runtime.StrolchConstants;
|
import li.strolch.runtime.StrolchConstants;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
|
|
|
@ -13,9 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import li.strolch.model.Order;
|
import li.strolch.model.Order;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,9 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,7 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.PostInitializer;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,7 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
|
@ -13,13 +13,16 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.runtime.StrolchConstants;
|
import li.strolch.runtime.StrolchConstants;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
import ch.eitchnet.utils.helper.StringHelper;
|
import ch.eitchnet.utils.helper.StringHelper;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
@ -21,6 +21,8 @@ import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
|
import li.strolch.runtime.agent.api.ElementMapHandler;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import li.strolch.model.Order;
|
import li.strolch.model.Order;
|
||||||
import li.strolch.persistence.api.OrderDao;
|
import li.strolch.persistence.api.OrderDao;
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
|
||||||
public class TransactionalOrderMap extends AbstractTransactionalElementMap<Order> implements OrderMap {
|
public class TransactionalOrderMap extends AbstractTransactionalElementMap<Order> implements OrderMap {
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.persistence.api.ResourceDao;
|
import li.strolch.persistence.api.ResourceDao;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
|
||||||
public class TransactionalResourceMap extends AbstractTransactionalElementMap<Resource> implements ResourceMap {
|
public class TransactionalResourceMap extends AbstractTransactionalElementMap<Resource> implements ResourceMap {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
|
@ -23,6 +23,9 @@ import java.util.Map;
|
||||||
import li.strolch.model.xml.XmlModelDefaultHandler.XmlModelStatistics;
|
import li.strolch.model.xml.XmlModelDefaultHandler.XmlModelStatistics;
|
||||||
import li.strolch.model.xml.XmlModelFileHandler;
|
import li.strolch.model.xml.XmlModelFileHandler;
|
||||||
import li.strolch.runtime.StrolchConstants;
|
import li.strolch.runtime.StrolchConstants;
|
||||||
|
import li.strolch.runtime.agent.api.OrderMap;
|
||||||
|
import li.strolch.runtime.agent.api.ResourceMap;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
|
@ -13,13 +13,15 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.agent;
|
package li.strolch.runtime.agent.impl;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import li.strolch.runtime.agent.api.ElementMapHandler;
|
||||||
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
|
|
|
@ -19,7 +19,7 @@ import java.io.File;
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
|
|
||||||
import li.strolch.runtime.agent.StrolchAgent;
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
|
|
||||||
import org.apache.commons.cli.CommandLine;
|
import org.apache.commons.cli.CommandLine;
|
||||||
import org.apache.commons.cli.CommandLineParser;
|
import org.apache.commons.cli.CommandLineParser;
|
||||||
|
|
|
@ -22,8 +22,8 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import li.strolch.model.StrolchElement;
|
import li.strolch.model.StrolchElement;
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -20,8 +20,8 @@ import java.io.FileInputStream;
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
import li.strolch.runtime.configuration.ComponentConfiguration;
|
import li.strolch.runtime.configuration.ComponentConfiguration;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
import ch.eitchnet.privilege.base.PrivilegeException;
|
import ch.eitchnet.privilege.base.PrivilegeException;
|
||||||
|
|
|
@ -21,7 +21,7 @@ import li.strolch.model.query.OrderQuery;
|
||||||
import li.strolch.model.query.OrderQueryVisitor;
|
import li.strolch.model.query.OrderQueryVisitor;
|
||||||
import li.strolch.model.query.StateSelection;
|
import li.strolch.model.query.StateSelection;
|
||||||
import li.strolch.model.query.StrolchTypeNavigation;
|
import li.strolch.model.query.StrolchTypeNavigation;
|
||||||
import li.strolch.runtime.agent.ComponentContainer;
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
|
|
@ -34,7 +34,7 @@ import li.strolch.model.query.ParameterSelection.IntegerParameterSelection;
|
||||||
import li.strolch.model.query.ParameterSelection.LongParameterSelection;
|
import li.strolch.model.query.ParameterSelection.LongParameterSelection;
|
||||||
import li.strolch.model.query.ParameterSelection.StringListParameterSelection;
|
import li.strolch.model.query.ParameterSelection.StringListParameterSelection;
|
||||||
import li.strolch.model.query.ParameterSelection.StringParameterSelection;
|
import li.strolch.model.query.ParameterSelection.StringParameterSelection;
|
||||||
import li.strolch.runtime.agent.ComponentContainer;
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
|
|
@ -22,7 +22,7 @@ import li.strolch.model.Resource;
|
||||||
import li.strolch.model.query.ResourceQuery;
|
import li.strolch.model.query.ResourceQuery;
|
||||||
import li.strolch.model.query.ResourceQueryVisitor;
|
import li.strolch.model.query.ResourceQueryVisitor;
|
||||||
import li.strolch.model.query.StrolchTypeNavigation;
|
import li.strolch.model.query.StrolchTypeNavigation;
|
||||||
import li.strolch.runtime.agent.ComponentContainer;
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
package li.strolch.runtime.query.inmemory;
|
package li.strolch.runtime.query.inmemory;
|
||||||
|
|
||||||
import li.strolch.model.Order;
|
import li.strolch.model.Order;
|
||||||
import li.strolch.runtime.agent.ComponentContainer;
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
import li.strolch.runtime.agent.ElementMap;
|
import li.strolch.runtime.agent.api.ElementMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
package li.strolch.runtime.query.inmemory;
|
package li.strolch.runtime.query.inmemory;
|
||||||
|
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
import li.strolch.runtime.agent.ComponentContainer;
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
import li.strolch.runtime.agent.ElementMap;
|
import li.strolch.runtime.agent.api.ElementMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
|
|
@ -18,7 +18,7 @@ package li.strolch.runtime.query.inmemory;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import li.strolch.model.StrolchElement;
|
import li.strolch.model.StrolchElement;
|
||||||
import li.strolch.runtime.agent.ElementMap;
|
import li.strolch.runtime.agent.api.ElementMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
|
|
@ -26,8 +26,8 @@ import li.strolch.model.Resource;
|
||||||
import li.strolch.persistence.api.PersistenceHandler;
|
import li.strolch.persistence.api.PersistenceHandler;
|
||||||
import li.strolch.persistence.api.ResourceDao;
|
import li.strolch.persistence.api.ResourceDao;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
import li.strolch.runtime.agent.ComponentContainer;
|
import li.strolch.runtime.agent.api.ComponentContainer;
|
||||||
import li.strolch.runtime.agent.StrolchAgent;
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||||
import li.strolch.runtime.test.component.model.PersistenceHandlerTest;
|
import li.strolch.runtime.test.component.model.PersistenceHandlerTest;
|
||||||
import li.strolch.runtime.test.component.model.ServiceHandlerTest;
|
import li.strolch.runtime.test.component.model.ServiceHandlerTest;
|
||||||
|
|
|
@ -25,10 +25,10 @@ import java.util.HashSet;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.ComponentController;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
import li.strolch.runtime.agent.ComponentDependencyAnalyzer;
|
import li.strolch.runtime.agent.impl.ComponentController;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentDependencyAnalyzer;
|
||||||
import li.strolch.runtime.configuration.ConfigurationParser;
|
import li.strolch.runtime.configuration.ConfigurationParser;
|
||||||
import li.strolch.runtime.configuration.StrolchConfiguration;
|
import li.strolch.runtime.configuration.StrolchConfiguration;
|
||||||
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
import li.strolch.runtime.configuration.StrolchConfigurationException;
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
package li.strolch.runtime.test.component.model;
|
package li.strolch.runtime.test.component.model;
|
||||||
|
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
|
|
||||||
public class PersistenceHandlerTestImpl extends StrolchComponent implements PersistenceHandlerTest {
|
public class PersistenceHandlerTestImpl extends StrolchComponent implements PersistenceHandlerTest {
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.test.component.model;
|
package li.strolch.runtime.test.component.model;
|
||||||
|
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
|
|
||||||
public class PostInitializerTestImpl extends StrolchComponent implements PostInitializerTest {
|
public class PostInitializerTestImpl extends StrolchComponent implements PostInitializerTest {
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
*/
|
*/
|
||||||
package li.strolch.runtime.test.component.model;
|
package li.strolch.runtime.test.component.model;
|
||||||
|
|
||||||
import li.strolch.runtime.agent.ComponentContainerImpl;
|
import li.strolch.runtime.agent.api.StrolchComponent;
|
||||||
import li.strolch.runtime.agent.StrolchComponent;
|
import li.strolch.runtime.agent.impl.ComponentContainerImpl;
|
||||||
|
|
||||||
public class ServiceHandlerTestImpl extends StrolchComponent implements ServiceHandlerTest {
|
public class ServiceHandlerTestImpl extends StrolchComponent implements ServiceHandlerTest {
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ import li.strolch.model.query.ParameterSelection;
|
||||||
import li.strolch.model.query.ResourceQuery;
|
import li.strolch.model.query.ResourceQuery;
|
||||||
import li.strolch.model.query.Selection;
|
import li.strolch.model.query.Selection;
|
||||||
import li.strolch.model.query.StrolchTypeNavigation;
|
import li.strolch.model.query.StrolchTypeNavigation;
|
||||||
import li.strolch.runtime.agent.StrolchAgent;
|
import li.strolch.runtime.agent.api.StrolchAgent;
|
||||||
import li.strolch.runtime.query.inmemory.InMemoryOrderQueryVisitor;
|
import li.strolch.runtime.query.inmemory.InMemoryOrderQueryVisitor;
|
||||||
import li.strolch.runtime.query.inmemory.InMemoryQuery;
|
import li.strolch.runtime.query.inmemory.InMemoryQuery;
|
||||||
import li.strolch.runtime.query.inmemory.InMemoryResourceQueryVisitor;
|
import li.strolch.runtime.query.inmemory.InMemoryResourceQueryVisitor;
|
||||||
|
|
Loading…
Reference in New Issue