com.espertech.esper.view.ViewResolutionService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esper Show documentation
Show all versions of esper Show documentation
Complex event processing and event series analysis component
/**************************************************************************************
* Copyright (C) 2006-2015 EsperTech Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com *
* ---------------------------------------------------------------------------------- *
* The software in this package is published under the terms of the GPL license *
* a copy of which has been included with this distribution in the license.txt file. *
**************************************************************************************/
package com.espertech.esper.view;
/**
* Factory service for resolving view names and for creating view instances based on a view specification including view name and namespace.
*/
public interface ViewResolutionService
{
/**
* Instantiates a {@link ViewFactory} based on the view namespace and name stored in the view spec.
*
* Does not actually use the view factory object created.
* @param namespace is the view namespace
* @param name is the view name
* @return {@link ViewFactory} instance
* @throws ViewProcessingException if the view namespace or name cannot resolve
*/
public ViewFactory create(String namespace, String name) throws ViewProcessingException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy