com.bankframe.ejb.bmp
Class EPersisterFactory

java.lang.Object
  extended by com.bankframe.ejb.bmp.EPersisterFactory

public class EPersisterFactory
extends Object

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


Field Summary
static String DEFAULT_PERSISTER
           
static String PERSISTER
           
 
Constructor Summary
EPersisterFactory()
           
 
Method Summary
static EPersister getPersister(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 String DEFAULT_PERSISTER
See Also:
Constant Field Values

PERSISTER

public static final String PERSISTER
See Also:
Constant Field Values
Constructor Detail

EPersisterFactory

public EPersisterFactory()
Method Detail

getPersister

public static EPersister getPersister(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.