com.bankframe.ejb.bmp
Class EPersisterFactory

java.lang.Object
  extended bycom.bankframe.ejb.bmp.EPersisterFactory

public class EPersisterFactory
extends java.lang.Object

This class creates and returns an instance of an EJB's persister class


Field Summary
static java.lang.String DEFAULT_PERSISTER
           
static java.lang.String PERSISTER
           
 
Constructor Summary
EPersisterFactory()
           
 
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
 

Field Detail

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
Constructor Detail

EPersisterFactory

public EPersisterFactory()
Method Detail

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.