|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tynamo.jdo.JDOModule
public class JDOModule
Supplements the services defined by eu.cuetech.tapestry.jdo.JDOCoreModule
with additional services and configuration specific to Tapestry web
application.
| Constructor Summary | |
|---|---|
JDOModule()
|
|
| Method Summary | |
|---|---|
static void |
contributeComponentClassTransformWorker(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.transform.ComponentClassTransformWorker2> configuration)
Adds the CommitAfter annotation work, to process the CommitAfter annotation. |
static void |
contributeFactoryDefaults(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
|
static void |
contributePersistentFieldManager(org.apache.tapestry5.ioc.MappedConfiguration<String,org.apache.tapestry5.services.PersistentFieldStrategy> configuration)
Contributes the following: entity Stores the id of the entity and reloads from the PersistenceManager |
static void |
contributeValueEncoderSource(org.apache.tapestry5.ioc.MappedConfiguration<Class,org.apache.tapestry5.services.ValueEncoderFactory> configuration,
boolean provideEncoders,
JDOPersistenceManagerSource pms,
javax.jdo.PersistenceManager pm,
org.apache.tapestry5.ioc.services.TypeCoercer typeCoercer,
org.apache.tapestry5.ioc.services.PropertyAccess propertyAccess,
org.apache.tapestry5.ioc.LoggerSource loggerSource)
Contributes ValueEncoderFactorys for all JDO entity classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDOModule()
| Method Detail |
|---|
public static void contributeFactoryDefaults(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
public static void contributePersistentFieldManager(org.apache.tapestry5.ioc.MappedConfiguration<String,org.apache.tapestry5.services.PersistentFieldStrategy> configuration)
PersistenceManager
public static void contributeComponentClassTransformWorker(org.apache.tapestry5.ioc.OrderedConfiguration<org.apache.tapestry5.services.transform.ComponentClassTransformWorker2> configuration)
CommitAfter annotation.
public static void contributeValueEncoderSource(org.apache.tapestry5.ioc.MappedConfiguration<Class,org.apache.tapestry5.services.ValueEncoderFactory> configuration,
@Symbol(value="tapestry.jdo.provide-entity-value-encoders")
boolean provideEncoders,
JDOPersistenceManagerSource pms,
javax.jdo.PersistenceManager pm,
org.apache.tapestry5.ioc.services.TypeCoercer typeCoercer,
org.apache.tapestry5.ioc.services.PropertyAccess propertyAccess,
org.apache.tapestry5.ioc.LoggerSource loggerSource)
ValueEncoderFactorys for all JDO entity classes.
Encoding and decoding are based on the id property value of the entity
using type coercion. Hence, if the id can be coerced to a String and back
then the entity can be coerced.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||