* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.util.ArrayList;
import java.util.Arrays;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
/**
* A component represents a part of a system that requires a
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.util.ArrayList;
import java.util.Arrays;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.util.Arrays;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.util.Arrays;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.util.Collection;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
public interface RequiredInterface {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
/**
* Exception thrown when an error occurs in assembling the systems.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import javax.sql.DataSource;
+import org.wamblee.system.core.AbstractComponent;
+import org.wamblee.system.core.DefaultRequiredInterface;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
import org.wamblee.test.EventTracker;
public class Application extends AbstractComponent {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
-import org.wamblee.system.Component.Status;
+import org.wamblee.system.core.Component;
+import org.wamblee.system.core.Container;
+import org.wamblee.system.core.DefaultProvidedInterface;
+import org.wamblee.system.core.DefaultRequiredInterface;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
+import org.wamblee.system.core.SystemAssemblyException;
+import org.wamblee.system.core.Component.Status;
import org.wamblee.test.AssertionUtils;
import org.wamblee.test.EventTracker;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import java.io.Serializable;
+import org.wamblee.system.core.DefaultProvidedInterface;
+import org.wamblee.system.core.DefaultRequiredInterface;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
+
import junit.framework.TestCase;
public class DefaultInterfaceDescriptorTest extends TestCase {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
+
+import org.wamblee.system.core.DefaultRequiredInterface;
+import org.wamblee.system.core.RequiredInterface;
import junit.framework.TestCase;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.system;
+package org.wamblee.system.core;
import javax.sql.DataSource;
+import org.wamblee.system.core.AbstractComponent;
+import org.wamblee.system.core.DefaultProvidedInterface;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
import org.wamblee.test.EventTracker;
package org.wamblee.system.spring;
import org.springframework.beans.factory.FactoryBean;
-import org.wamblee.system.ProvidedInterface;
-import org.wamblee.system.RequiredInterface;
-import org.wamblee.system.SystemAssemblyException;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
+import org.wamblee.system.core.SystemAssemblyException;
/**
* Bean which adds a service required by the spring component to
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.GenericApplicationContext;
-import org.wamblee.system.AbstractComponent;
-import org.wamblee.system.ProvidedInterface;
-import org.wamblee.system.RequiredInterface;
-import org.wamblee.system.SystemAssemblyException;
+import org.wamblee.system.core.AbstractComponent;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
+import org.wamblee.system.core.SystemAssemblyException;
/**
* Represents a system configured based on spring. The spring config files that
import junit.framework.TestCase;
import org.wamblee.io.ClassPathResource;
-import org.wamblee.system.DefaultProvidedInterface;
-import org.wamblee.system.DefaultRequiredInterface;
-import org.wamblee.system.ProvidedInterface;
-import org.wamblee.system.RequiredInterface;
-import org.wamblee.system.SystemAssemblyException;
+import org.wamblee.system.core.DefaultProvidedInterface;
+import org.wamblee.system.core.DefaultRequiredInterface;
+import org.wamblee.system.core.ProvidedInterface;
+import org.wamblee.system.core.RequiredInterface;
+import org.wamblee.system.core.SystemAssemblyException;
public class SpringComponentTest extends TestCase {