|
Spring Framework example source code file (PetSite.java)
The Spring Framework PetSite.java source codepackage org.springframework.samples.petportal.domain; import java.io.Serializable; import java.net.URL; /** * A PetSite stores the url of a website that is external to * the portlet as well as a user-supplied name for the site. * This is used to demonstrate a redirect from a portlet. * * The websites to be included upon portlet startup are in a file * called "petsites.properties" within the WEB-INF directory. * * See the bean definitions in "petsites-portlet.xml" for more detail. * * @author Mark Fisher */ public class PetSite implements Serializable { private String name; private URL url; public String getName() { return name; } public void setName(String name) { this.name = name; } public URL getUrl() { return url; } public void setUrl(URL url) { this.url = url; } } Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework PetSite.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.