org.apache.myfaces.commons.resourcehandler.webapp.config.element.impl
Class ServletRegistrationImpl

java.lang.Object
  extended by org.apache.myfaces.commons.resourcehandler.webapp.config.element.impl.ServletRegistrationImpl
All Implemented Interfaces:
Registration, ServletRegistration

public class ServletRegistrationImpl
extends Object
implements ServletRegistration

Author:
Leonardo Uribe

Constructor Summary
ServletRegistrationImpl(String name)
           
ServletRegistrationImpl(String name, String className)
           
 
Method Summary
 void addMapping(String url)
           
 String getClassName()
           
 Collection<String> getMappings()
           
 String getName()
           
 void setClassName(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletRegistrationImpl

public ServletRegistrationImpl(String name)

ServletRegistrationImpl

public ServletRegistrationImpl(String name,
                               String className)
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface Registration
Returns:
the class name of filter or servlet this registered

getName

public String getName()
Specified by:
getName in interface Registration
Returns:
name of filter or servlet this initialised

getMappings

public Collection<String> getMappings()
Specified by:
getMappings in interface ServletRegistration

addMapping

public void addMapping(String url)

setClassName

public void setClassName(String className)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.