org.apache.myfaces.commons.resourcehandler.webapp.config.element.impl
Class ServletRegistrationImpl
java.lang.Object
org.apache.myfaces.commons.resourcehandler.webapp.config.element.impl.ServletRegistrationImpl
- All Implemented Interfaces:
- Registration, ServletRegistration
public class ServletRegistrationImpl
- extends java.lang.Object
- implements ServletRegistration
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletRegistrationImpl
public ServletRegistrationImpl(java.lang.String name)
ServletRegistrationImpl
public ServletRegistrationImpl(java.lang.String name,
java.lang.String className)
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface Registration
- Returns:
- the class name of filter or servlet this registered
getName
public java.lang.String getName()
- Specified by:
getName
in interface Registration
- Returns:
- name of filter or servlet this initialised
getMappings
public java.util.Collection<java.lang.String> getMappings()
- Specified by:
getMappings
in interface ServletRegistration
addMapping
public void addMapping(java.lang.String url)
setClassName
public void setClassName(java.lang.String className)
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.