diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4369726..6bdce5c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,10 @@
-
-
+
-
+
+
@@ -85,7 +85,7 @@
1669234080818
-
+ 1669371969480
@@ -101,7 +101,14 @@
1669373591401
-
+
+ 1669373956224
+
+
+
+ 1669373956224
+
+
@@ -121,6 +128,7 @@
-
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index c8760e3..c848897 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,12 @@
### Introduccion
Creo un SpringCore Con el servicio de consultar productos con sus precios y todas las caracteristicas.
### Documentacion
+### Files
+- *Main.java* Clase Principal del programa
+- *IServicioProducto.java* Interfaz de producto
+- *Producto.java* Modelo del producto
+- *ServicioProducto.java* Clase para el control de los servicios del producto (ampliable en un futuro)
+- *beans.xml* Arvhivo que contiene los bean para la inyeccion de dependencias
#### Dependencias importadas:
~~~
org.springframework id:spring-context v: 6.0.0
@@ -19,5 +25,6 @@ Process finished with exit code 0
### Explicación de la Actividad
Por ahora, Solo crea y genera un producto a traves de un BEAN, donde se
-inicializa un BEAN con el producto y con servicio producto, lo utiliza
+inicializa un BEAN con el producto y lo utiliza.
+En el main Hemos llamado ahora al producto a traves de la interfaz.
~~~
\ No newline at end of file
diff --git a/src/main/java/com/jorpelu/ServicioDeProductos/ServicioProductos.java b/src/main/java/com/jorpelu/ServicioDeProductos/ServicioProductos.java
index 97e62c5..4833740 100644
--- a/src/main/java/com/jorpelu/ServicioDeProductos/ServicioProductos.java
+++ b/src/main/java/com/jorpelu/ServicioDeProductos/ServicioProductos.java
@@ -1,15 +1,13 @@
package com.jorpelu.ServicioDeProductos;
-import java.util.ArrayList;
+public class ServicioProductos implements ISercicioProducto {
+ private Producto producto;
-public class ServicioProductos {
- private Producto productos;
-
- public Producto getProductos() {
- return productos;
+ public Producto getProducto() {
+ return producto;
}
public void setProducto(Producto productos) {
- this.productos = productos;
+ this.producto = productos;
}
}