org.eclipse.jst.server.core
Class Servlet

java.lang.Object
  extended byorg.eclipse.jst.server.core.Servlet

public class Servlet
extends java.lang.Object

A J2EE Servlet.

Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Constructor Summary
Servlet(IModule module, java.lang.String className, java.lang.String alias)
          Create a reference to a servlet.
 
Method Summary
 java.lang.String getAlias()
          Return the servlet's alias.
 IModule getModule()
           
 java.lang.String getServletClassName()
          Return the class name of the servlet.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet(IModule module,
               java.lang.String className,
               java.lang.String alias)
Create a reference to a servlet.

Parameters:
module - the module that the servlet is contained in
className - the class name of the servlet
alias - the servlet's alias
Method Detail

getModule

public IModule getModule()
See Also:
IModuleArtifact#getModule()

getServletClassName

public java.lang.String getServletClassName()
Return the class name of the servlet.

Returns:
the class name of the servlet

getAlias

public java.lang.String getAlias()
Return the servlet's alias.

Returns:
the servlet's alias

toString

public java.lang.String toString()
See Also:
Object.toString()