com.bankframe.ejb.bmp
Class EPersisterFactory
java.lang.Object
com.bankframe.ejb.bmp.EPersisterFactory
- public class EPersisterFactory
- extends java.lang.Object
This class creates and returns an instance of an EJB's persister class
Method Summary |
static EPersister |
getPersister(java.lang.String jndiName)
This method returns an instance of the EJB's persister class. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PERSISTER
public static final java.lang.String DEFAULT_PERSISTER
- See Also:
- Constant Field Values
PERSISTER
public static final java.lang.String PERSISTER
- See Also:
- Constant Field Values
EPersisterFactory
public EPersisterFactory()
getPersister
public static EPersister getPersister(java.lang.String jndiName)
throws ProcessingErrorException
- This method returns an instance of the EJB's persister class.
- Parameters:
jndiName
- the JNDI name of the entity bean
- Returns:
- an instance of the persister
- Throws:
ProcessingErrorException
- if processing fails.
Copyright © 2005, 2007, Oracle. All rights reserved.