Spring Artifacts


Components

Controller

org.springframework.samples.petclinic.web.AddOwnerForm JavaBean form controller that is used to add a new Owner to the system.
org.springframework.samples.petclinic.web.AddPetForm JavaBean form controller that is used to add a new Pet to the system.
org.springframework.samples.petclinic.web.AddVisitForm JavaBean form controller that is used to add a new Visit to the system.
org.springframework.samples.petclinic.web.ClinicController Annotation-driven MultiActionController that handles all non-form URL's.
org.springframework.samples.petclinic.web.EditOwnerForm JavaBean Form controller that is used to edit an existing Owner.
org.springframework.samples.petclinic.web.EditPetForm JavaBean Form controller that is used to edit an existing Pet.
org.springframework.samples.petclinic.web.FindOwnersForm JavaBean Form controller that is used to search for Owners by last name.

Repository

org.springframework.samples.petclinic.hibernate.HibernateClinic Hibernate implementation of the Clinic interface.
org.springframework.samples.petclinic.jpa.EntityManagerClinic JPA implementation of the Clinic interface using EntityManager.

Service

org.springframework.samples.petclinic.jdbc.SimpleJdbcClinic A simple JDBC-based implementation of the {@link Clinic} interface.

Request Mappings

Method URL Template Class Description
GET "/" org.springframework.samples.petclinic.web.ClinicController Displays the the welcome view.
GET "/owners" org.springframework.samples.petclinic.web.FindOwnersForm
GET "/owners/*/pets/{petId}/edit" org.springframework.samples.petclinic.web.EditPetForm Displays an edit form for the specified owner.
PUT "/owners/*/pets/{petId}/edit" org.springframework.samples.petclinic.web.EditPetForm Processes a pet edit form submission.
POST "/owners/*/pets/{petId}/edit" org.springframework.samples.petclinic.web.EditPetForm Processes a pet edit form submission.
DELETE "/owners/*/pets/{petId}/edit" org.springframework.samples.petclinic.web.EditPetForm Deletes a pet.
GET "/owners/*/pets/{petId}/visits" org.springframework.samples.petclinic.web.ClinicController Displays a list of all visits for a specified pet.
GET "/owners/*/pets/{petId}/visits/new" org.springframework.samples.petclinic.web.AddVisitForm
POST "/owners/*/pets/{petId}/visits/new" org.springframework.samples.petclinic.web.AddVisitForm
GET "/owners/new" org.springframework.samples.petclinic.web.AddOwnerForm
POST "/owners/new" org.springframework.samples.petclinic.web.AddOwnerForm
GET "/owners/search" org.springframework.samples.petclinic.web.FindOwnersForm
GET "/owners/{ownerId}" org.springframework.samples.petclinic.web.ClinicController Displays the specified owner.
GET "/owners/{ownerId}/edit" org.springframework.samples.petclinic.web.EditOwnerForm Displays an edit form for the specified owner.
PUT "/owners/{ownerId}/edit" org.springframework.samples.petclinic.web.EditOwnerForm Processes an owner edit form submission.
GET "/owners/{ownerId}/pets/new" org.springframework.samples.petclinic.web.AddPetForm
POST "/owners/{ownerId}/pets/new" org.springframework.samples.petclinic.web.AddPetForm
GET "/vets" org.springframework.samples.petclinic.web.ClinicController Displays all vets.

Generated by SpringDoclet