Interface PersistenceManagedTypes
public interface PersistenceManagedTypes
Provide the list of managed persistent types that an entity manager should
consider.
- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionReturn the class names the persistence provider must add to its set of managed classes.Return a list of managed Java packages, to be introspected by the persistence provider.Return the persistence unit root url ornull
if it could not be determined.static PersistenceManagedTypes
Create an instance using the specified managed class names.static PersistenceManagedTypes
Create an instance using the specified managed class names and packages.
-
Method Details
-
getManagedClassNames
Return the class names the persistence provider must add to its set of managed classes.- Returns:
- the managed class names
- See Also:
-
getManagedPackages
Return a list of managed Java packages, to be introspected by the persistence provider.- Returns:
- the managed packages
-
getPersistenceUnitRootUrl
Return the persistence unit root url ornull
if it could not be determined.- Returns:
- the persistence unit root url
- See Also:
-
of
Create an instance using the specified managed class names.- Parameters:
managedClassNames
- the managed class names- Returns:
- a
PersistenceManagedTypes
-
of
Create an instance using the specified managed class names and packages.- Parameters:
managedClassNames
- the managed class namesmanagedPackages
- the managed packages- Returns:
- a
PersistenceManagedTypes
-