org.ops4j.pax.web.service.spi.model
Class ServiceModel
java.lang.Object
org.ops4j.pax.web.service.spi.model.ServiceModel
public class ServiceModel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceModel
public ServiceModel()
getServletModelWithAlias
public ServletModel getServletModelWithAlias(java.lang.String alias)
addServletModel
public void addServletModel(ServletModel model)
removeServletModel
public void removeServletModel(ServletModel model)
removeServlet
public ServletModel removeServlet(javax.servlet.Servlet servlet)
addEventListenerModel
public void addEventListenerModel(EventListenerModel model)
removeEventListener
public EventListenerModel removeEventListener(java.util.EventListener listener)
addFilterModel
public void addFilterModel(FilterModel model)
removeFilter
public FilterModel removeFilter(javax.servlet.Filter filter)
getServletModels
public ServletModel[] getServletModels()
getEventListenerModels
public EventListenerModel[] getEventListenerModels()
getFilterModels
public FilterModel[] getFilterModels()
getErrorPageModels
public ErrorPageModel[] getErrorPageModels()
addContextModel
public void addContextModel(ContextModel contextModel)
getContextModels
public ContextModel[] getContextModels()
getContextModel
public ContextModel getContextModel(org.osgi.service.http.HttpContext httpContext)
addErrorPageModel
public void addErrorPageModel(ErrorPageModel model)
removeErrorPage
public ErrorPageModel removeErrorPage(java.lang.String error,
ContextModel contextModel)
addLoginModel
public void addLoginModel(LoginConfigModel model)
getLoginModels
public LoginConfigModel[] getLoginModels()
addSecurityConstraintMappingModel
public void addSecurityConstraintMappingModel(SecurityConstraintMappingModel model)
getSecurityConstraintMappings
public SecurityConstraintMappingModel[] getSecurityConstraintMappings()
canBeConfigured
public boolean canBeConfigured()
- Returns true if the sevice can still be configured. This is possible
before any web components (servlets / filters / listeners / error pages)
are registered. TODO verify what happen once the web elements are
registered and then unregistered. Can still be configured?
- Returns:
- true, if service can be configured false otherwise
Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.