public interface PeerManager
TorqueTurbinePeer interface.
If generating your ORM-classes from a Torque schema, you may have to delete or provide your own baseClasses in the schema.TorqueTurbine<Type>ManagerImpl referencing manager classes.| Modifier and Type | Method and Description |
|---|---|
<P extends Peer> |
getPeerInstance(String peerClassName)
Expects the class name of a Torque Peer class, which could be instantiated.
|
<P extends Peer> |
getPeerInstance(String peerClassName,
Class<? extends Peer> class1,
String className)
This method is provided to get more helpful exception messages.
|
static final String ROLE
<P extends Peer> P getPeerInstance(String peerClassName) throws DataBackendException
peerClassName - the peerClassNameDataBackendExceptionAbstractEntityManager#getPeerClassName()<P extends Peer> P getPeerInstance(String peerClassName, Class<? extends Peer> class1, String className) throws DataBackendException
peerClassName - class1 - expected class the peers should implementclassName - target class, i.e. the data object class type of the Peer object. The data object for which the peer is provided.DataBackendExceptionCopyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.