The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<HTML>
<HEAD>
<TITLE>Servlet::ServletContextAttributeEvent - servlet context attribute event class</TITLE>
<LINK REL="stylesheet" HREF="../../libservlet.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:feedback@suse.de">
</HEAD>

<BODY>

<A NAME="__index__"></A>
<!-- INDEX BEGIN -->

<UL>

	<LI><A HREF="#name">NAME</A></LI>
	<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
	<LI><A HREF="#description">DESCRIPTION</A></LI>
	<LI><A HREF="#constructor">CONSTRUCTOR</A></LI>
	<LI><A HREF="#methods">METHODS</A></LI>
	<LI><A HREF="#see also">SEE ALSO</A></LI>
	<LI><A HREF="#author">AUTHOR</A></LI>
</UL>
<!-- INDEX END -->

<HR>
<P>
<HR>
<H1><A NAME="name">NAME</A></H1>
<P>Servlet::ServletContextAttributeEvent - servlet context attribute event class</P>
<P>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
  my $event = Servlet::ServletContextAttributeEvent-&gt;new($context, $name,
                                                         $value);</PRE>
<PRE>
  my $name = $event-&gt;getName();
  my $object = $event-&gt;getValue();</PRE>
<PRE>
  my $context = $event-&gt;getServletContext();
  # or
  my $context = $event-&gt;getSource();</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>This is an event class for notifications about changes to the
attributes of the servlet context of a web application.</P>
<P>
<HR>
<H1><A NAME="constructor">CONSTRUCTOR</A></H1>
<DL>
<DT><STRONG><A NAME="item_new">new($context, $name, $value)</A></STRONG><BR>
<DD>
Construct an instance for the given context, attribute name and
attribute value.
<P><STRONG>Parameters:</STRONG></P>
<DL>
<DT><STRONG><A NAME="item_%24context"><EM>$context</EM></A></STRONG><BR>
<DD>
the servlet context that is the source of the event
<P></P>
<DT><STRONG><A NAME="item_%24name"><EM>$name</EM></A></STRONG><BR>
<DD>
the name of the affected servlet context attribute
<P></P>
<DT><STRONG><A NAME="item_%24value"><EM>$value</EM></A></STRONG><BR>
<DD>
the value of the affected servlet context attribute
<P></P></DL>
</DL>
<P>
<HR>
<H1><A NAME="methods">METHODS</A></H1>
<DL>
<DT><STRONG><A NAME="item_getName"><CODE>getName()</CODE></A></STRONG><BR>
<DD>
Returns the name of the affected servlet context attribute.
<P></P>
<DT><STRONG><A NAME="item_getServletContext"><CODE>getServletContext()</CODE></A></STRONG><BR>
<DD>
Returns the <STRONG>Servlet::ServletContext</STRONG> object that is the source of
the event.
<P></P>
<DT><STRONG><A NAME="item_getSource"><CODE>getSource()</CODE></A></STRONG><BR>
<DD>
Returns the <STRONG>Servlet::ServletContext</STRONG> object that is the source of
the event.
<P></P>
<DT><STRONG><A NAME="item_getValue"><CODE>getValue()</CODE></A></STRONG><BR>
<DD>
Returns the value of the affected servlet context attribute. If the
attribute was added, this is the value of the attribute. If the
attribute was removed, this is the value of the removed attribute. If
the attribute was replaced, this is the old value of the attribute.
<P></P></DL>
<P>
<HR>
<H1><A NAME="see also">SEE ALSO</A></H1>
<P><A HREF="../../api/Servlet/ServletContext.html">the Servlet::ServletContext manpage</A>,
<A HREF="../../api/Servlet/ServletContextAttributeListener.html">the Servlet::ServletContextAttributeListener manpage</A></P>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>Brian Moseley, <A HREF="mailto:bcm@maz.org">bcm@maz.org</A></P>

</BODY>

</HTML>