PersistenceUnitBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Contains a named configuration.

   
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.j2ee.descriptor.PersistenceUnitBean
Factory Methods
Additional Access Points In addition to accessing this MBean by invoking a factory method, you can also access this MBean from the following MBean attributes:


    Related MBeans

    This section describes attributes that provide access to other MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.


      Properties

      Additional implementation specific properties to store with this persistence unit.

             
      Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
      Privileges Read only
      TypePersistencePropertiesBean
      Relationship type: Containment.


      Attributes

      This section describes the following attributes:


      Classes

      The list of persistent classes used at runtime.

             
      Privileges Read only
      Typeclass java.lang.String[]
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Description

      The description of this unit.

             
      Privileges Read/Write
      Typejava.lang.String

      ExcludeUnlistedClasses

      Controls whether to exclude classes unlisted by jar, file, or class.

             
      Privileges Read/Write
      Typeboolean

      JarFiles

      A list of jars to scan for persistent classes.

             
      Privileges Read only
      Typeclass java.lang.String[]
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      JtaDataSource

      The JNDI name of the DataSource enlisted in the current JTA transaction.

             
      Privileges Read/Write
      Typejava.lang.String

      MappingFiles

      The list of mapping files used at runtime.

             
      Privileges Read only
      Typeclass java.lang.String[]
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Name

      The name used to reference this given configuration.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      NonJtaDataSource

      The JNDI name for an unmanaged DataSource.

             
      Privileges Read/Write
      Typejava.lang.String

      Provider

      The provider class to provide persistence services.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      TransactionType

      The transaction type for the given entity manager.

             
      Privileges Read/Write
      Typejava.lang.String
      Default ValueJTA
      Legal Values
      • JTA
      • RESOURCE_LOCAL