Class CustomPartitioningPolicy

  • All Implemented Interfaces:

    public class CustomPartitioningPolicy
    extends PartitioningPolicy
    PUBLIC: Defines a user defined partitioning policy. Used by metadata to defer class loading to init.
    See Also:
    Serialized Form
    James Sutherland
    EclipseLink 2.2
    • Constructor Detail

      • CustomPartitioningPolicy

        public CustomPartitioningPolicy()
    • Method Detail

      • initialize

        public void initialize​(org.eclipse.persistence.internal.sessions.AbstractSession session)
        INTERNAL: Initialize the policy.
        initialize in class PartitioningPolicy
      • convertClassNamesToClasses

        public void convertClassNamesToClasses​(ClassLoader classLoader)
        INTERNAL: Convert all the class-name-based settings to actual class-based settings. This method is used when converting a project that has been built with class names to a project with classes.
        convertClassNamesToClasses in class PartitioningPolicy
      • getConnectionsForQuery

        public List<org.eclipse.persistence.internal.databaseaccess.Accessor> getConnectionsForQuery​(org.eclipse.persistence.internal.sessions.AbstractSession session,
                                                                                                     DatabaseQuery query,
                                                                                                     org.eclipse.persistence.internal.sessions.AbstractRecord arguments)
        INTERNAL: Forward to custom policy
        Specified by:
        getConnectionsForQuery in class PartitioningPolicy
      • getPartitioningClasName

        public String getPartitioningClasName()
      • setPartitioningClasName

        public void setPartitioningClasName​(String partitioningClasName)