Class CoreProperties

    • Field Detail

      • MAPPING_LOADER_FACTORIES

        public static final java.lang.String MAPPING_LOADER_FACTORIES
        Property listing all available MappingLoader implementations (org.castor.mapping.Loaders).
        See Also:
        Constant Field Values
    • Constructor Detail

      • CoreProperties

        public CoreProperties()
        Default constructor. Application and domain class loaders will be initialized to the one used to load this class. No parent properties will be set.
        Note: This constructor is not intended for public use. Use one of the newInstance() methods of the modul specific properties instead.
      • CoreProperties

        public CoreProperties​(java.lang.ClassLoader application,
                              java.lang.ClassLoader domain)
        Construct properties that uses the specified class loaders. No parent properties will be set.
        Note: This constructor is not intended for public use. Use one of the newInstance() methods of the modul specific properties instead.
        Parameters:
        app - Classloader to be used for all classes of Castor and its required libraries.
        domain - Classloader to be used for all domain objects.