GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Servlet::ServletContextAttributeEvent(3) User Contributed Perl Documentation Servlet::ServletContextAttributeEvent(3)

Servlet::ServletContextAttributeEvent - servlet context attribute event class

  my $event = Servlet::ServletContextAttributeEvent->new($context, $name,
                                                         $value);

  my $name = $event->getName();
  my $object = $event->getValue();

  my $context = $event->getServletContext();
  # or
  my $context = $event->getSource();

This is an event class for notifications about changes to the attributes of the servlet context of a web application.

new($context, $name, $value)
Construct an instance for the given context, attribute name and attribute value.

Parameters:

$context
the servlet context that is the source of the event
$name
the name of the affected servlet context attribute
$value
the value of the affected servlet context attribute

getName()
Returns the name of the affected servlet context attribute.
getServletContext()
Returns the Servlet::ServletContext object that is the source of the event.
getSource()
Returns the Servlet::ServletContext object that is the source of the event.
getValue()
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.

Servlet::ServletContext, Servlet::ServletContextAttributeListener

Brian Moseley, bcm@maz.org
2001-07-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.