/** * Loads and returns the context properties from the resource. * * @return the {@link ContextProperties}. * * @throws ProvisionException * if there was an error loading the properties. */ public ContextProperties getProperties() { if (properties == null) { loadProperties(); } return properties; }