org.springframework.samples.petportal.domain
Class PetSite
java.lang.Object
org.springframework.samples.petportal.domain.PetSite
- All Implemented Interfaces:
- java.io.Serializable
public class PetSite
- extends java.lang.Object
- implements java.io.Serializable
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
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PetSite
public PetSite()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getUrl
public java.net.URL getUrl()
setUrl
public void setUrl(java.net.URL url)
John A. Lewis, Mark Fisher, Juergen Hoeller - 2007.