Class GenericLocalBeanContainer


public class GenericLocalBeanContainer extends GenericBeanContainer
see GenericLocalServiceBean. initializes the BeanContainer singelton, to use a jpa session.
Version:
$Revision$
Author:
Thomas Schneider
  • Field Details

  • Constructor Details

    • GenericLocalBeanContainer

      public GenericLocalBeanContainer()
  • Method Details

    • initLocalContainer

      public static void initLocalContainer()
    • initLocalContainer

      public static void initLocalContainer(ClassLoader classloader, boolean checkConnection)
      initializes the standard bean container to use GenericService methods. it creates an own servicefactory using the given classloader
      Parameters:
      classloader - loader to be used inside the own servicefactory instance.
      checkConnection - if true, the generic service will be pre-loaded to check the connection
    • getGenService

      protected IGenericService getGenService()
      Specified by:
      getGenService in class GenericBeanContainer