org.springframework.roo.addon.dod
Class DataOnDemandOperationsImpl

java.lang.Object
  extended by org.springframework.roo.addon.dod.DataOnDemandOperationsImpl
All Implemented Interfaces:
DataOnDemandOperations

@Service
public class DataOnDemandOperationsImpl
extends Object
implements DataOnDemandOperations

Implementation of DataOnDemandOperations.

Since:
1.1.3
Author:
Alan Stewart

Constructor Summary
DataOnDemandOperationsImpl()
           
 
Method Summary
 boolean isDataOnDemandInstallationPossible()
          Checks for the existence the META-INF/persistence.xml
 void newDod(org.springframework.roo.model.JavaType entity, org.springframework.roo.model.JavaType name)
          Creates a new data-on-demand (DoD) provider for the entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataOnDemandOperationsImpl

public DataOnDemandOperationsImpl()
Method Detail

isDataOnDemandInstallationPossible

public boolean isDataOnDemandInstallationPossible()
Description copied from interface: DataOnDemandOperations
Checks for the existence the META-INF/persistence.xml

Specified by:
isDataOnDemandInstallationPossible in interface DataOnDemandOperations
Returns:
true if the META-INF/persistence.xml exists, otherwise false

newDod

public void newDod(org.springframework.roo.model.JavaType entity,
                   org.springframework.roo.model.JavaType name)
Description copied from interface: DataOnDemandOperations
Creates a new data-on-demand (DoD) provider for the entity. Silently returns if the DoD class already exists.

Specified by:
newDod in interface DataOnDemandOperations
Parameters:
entity - to produce a DoD provider for (required)
name - the name of the new DoD class (required)


Copyright © 2009–2015. All rights reserved.