This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsd:schema elementformdefault="qualified" targetnamespace="http://com/javaguys/webservices/saveUserServices" xmlns:user="http://user.javaguys.blog.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://com/javaguys/webservices/saveUserServices"> | |
<xsd:import namespace="http://user.javaguys.blog.com" schemalocation="UserDetails.xsd"> | |
<xsd:element name="SaveUserRequest"> | |
<xsd:complextype> | |
<xsd:sequence> | |
<xsd:element name="userDetails" type="user:User"> | |
</xsd:element></xsd:sequence> | |
</xsd:complextype> | |
</xsd:element> | |
<xsd:element name="SaveUserResponse"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvc:argument-resolvers> | |
<ref bean="pagedRequestHandlerMethodArgumentResolver" /> | |
</mvc:argument-resolvers> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.lnu.is.web.rest.controller.asset; | |
import javax.annotation.Resource; | |
import org.lnu.is.facade.facade.Facade; | |
import org.lnu.is.facade.resource.asset.AssetResource; | |
import org.lnu.is.facade.resource.message.MessageResource; | |
import org.lnu.is.facade.resource.message.MessageType; | |
import org.lnu.is.facade.resource.search.PagedRequest; | |
import org.lnu.is.facade.resource.search.PagedResultResource; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.lnu.is.facade.resource.search; | |
import org.lnu.is.facade.annotations.Limit; | |
import org.lnu.is.facade.annotations.Offset; | |
/** | |
/** | |
* Paged Request, that comes from controller. | |
* @author ivanursul |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fdsfdsfds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>google-guice</groupId> | |
<artifactId>google-guice</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>google-guice</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>google-guice</groupId> | |
<artifactId>google-guice</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>google-guice</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.ivanursul.guice.service; | |
public interface NotificationService { | |
boolean sendMessage(String msg, String receipient); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.ivanursul.guice.service; | |
import javax.inject.Singleton; | |
@Singleton | |
public class EmailService implements NotificationService { | |
public boolean sendMessage(final String msg, final String receipient) { | |
//some fancy code to send email |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.ivanursul.guice.service; | |
import javax.inject.Singleton; | |
@Singleton | |
public class FacebookService implements NotificationService { | |
public boolean sendMessage(final String msg, final String receipient) { | |
//some complex code to send Facebook message |