org.springframework.roo.addon.jpa
Class JpaOperationsImpl
java.lang.Object
org.springframework.roo.addon.jpa.JpaOperationsImpl
- All Implemented Interfaces:
- JpaOperations
@Service
public class JpaOperationsImpl
- extends Object
- implements JpaOperations
Provides JPA configuration operations.
- Since:
- 1.0
- Author:
- Stefan Schmidt, Alan Stewart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaOperationsImpl
public JpaOperationsImpl()
isJpaInstallationPossible
public boolean isJpaInstallationPossible()
- Specified by:
isJpaInstallationPossible in interface JpaOperations
isJpaInstalled
public boolean isJpaInstalled()
- Specified by:
isJpaInstalled in interface JpaOperations
configureJpa
public void configureJpa(OrmProvider ormProvider,
JdbcDatabase database,
String jndi,
String applicationId)
- Description copied from interface:
JpaOperations
- This method is responsible for managing all JPA related artifacts (META-INF/persistence.xml, applicationContext.xml, database.properties and the project pom.xml)
- Specified by:
configureJpa in interface JpaOperations
- Parameters:
ormProvider - the ORM provider selected (Hibernate, OpenJpa, EclipseLink)database - the database (HSQL, H2, MySql, etc)jndi - the JNDI datasourceapplicationId - the Google App Engine application identifier. Defaults to the project's name if not specified.
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.