![JAR search and dependency download from the Maven repository](/logo.png)
org.ioc.commons.integration.service.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ioc-commons Show documentation
Show all versions of ioc-commons Show documentation
This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.
package org.ioc.commons.integration.service;
/**
* It represents a service for making operations from remote.
*
* @author Jesús Lunar Pérez
*
*/
public interface Service {
/**
* @return The URL from the service.
*/
String getUrlService();
/**
* @return A new instance of a manager for creating/editing service objects,
* i.e. parameters and returned values
*/
ServiceObjectManager newObjectManager();
/**
* Get the proper object manager for editing or creating related objects for
* an object.
*
* In case the object was created using a previous ServiceObjectManger, it
* will return it; otherwise, it will return a new instance through
* {@link Service#newObjectManager()}
*
* @param object
* Object
*
* @return The proper {@link ServiceObjectManager}
*/
ServiceObjectManager getObjectManagerFor(Object object);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy