Protomatter Application Server v1.0
A B C D E F G H I J L M P R S T U

A

addCronEntry(CronEntry) - Method in interface com.protomatter.pas.cron.PASCronManager
Add an entry to the master list of cron entries.
addCronEntry(CronEntry) - Method in class com.protomatter.pas.cronmanager.PASCronManagerImpl
 
addDay(int) - Method in class com.protomatter.pas.cron.CronEntry
Add a day of the month to the list of years this entry applies to.
addHour(int) - Method in class com.protomatter.pas.cron.CronEntry
Add an hour to the list of years this entry applies to.
addMinute(int) - Method in class com.protomatter.pas.cron.CronEntry
Add a minute to the list of years this entry applies to.
addMonth(int) - Method in class com.protomatter.pas.cron.CronEntry
Add a month to the list of years this entry applies to.
addToEnvironment(String, Object) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
addTopic(String) - Method in class com.protomatter.pas.cron.CronEntry
Add a topic to the list of topics this entry will submit it's event to.
addWeekday(int) - Method in class com.protomatter.pas.cron.CronEntry
Add a weekday to the list of years this entry applies to.
addWork(Runnable) - Method in interface com.protomatter.pas.service.PASWorkService
Add work to the "default" work queue.
addWork(Runnable) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
addWork(String, Runnable) - Method in interface com.protomatter.pas.service.PASWorkService
Add work to the given work queue.
addWork(String, Runnable) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
addYear(int) - Method in class com.protomatter.pas.cron.CronEntry
Add a year to the list of years this entry applies to.
appliesToDate(Date) - Method in class com.protomatter.pas.cron.CronEntry
Determines if this CronEntry applies to the given date.

B

bind(Context, String, Object) - Static method in class com.protomatter.pas.jndi.JNDIUtil
Bind -- creates sub-contexts as needed.
bind(Name, Object) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
bind(String, Object) - Method in class com.protomatter.pas.jndi.PASContext
 

C

close() - Method in class com.protomatter.pas.jndi.PASContext
 
close(Connection) - Method in class com.protomatter.pas.base.ProtoPASStartup
Cleanly close the given Connection.
close(Connection) - Method in class com.protomatter.pas.servlet.PASServlet
Close the given JDBC connection.
close(ResultSet) - Method in class com.protomatter.pas.base.ProtoPASStartup
Cleanly close the given ResultSet.
close(ResultSet) - Method in class com.protomatter.pas.servlet.PASServlet
Close the given JDBC resultset.
close(Statement) - Method in class com.protomatter.pas.base.ProtoPASStartup
Cleanly close the given Statement.
close(Statement) - Method in class com.protomatter.pas.servlet.PASServlet
Close the given JDBC statement.
com.protomatter.jdbc.pool - package com.protomatter.jdbc.pool
Classes for starting/stopping JDBC connection pools in PAS.
com.protomatter.pas - package com.protomatter.pas
A simple Application Server.
com.protomatter.pas.base - package com.protomatter.pas.base
Useful base classes for projects using PAS.
com.protomatter.pas.cron - package com.protomatter.pas.cron
Interfaces for the PAS cron facility.
com.protomatter.pas.cronmanager - package com.protomatter.pas.cronmanager
The default implementation of the PAS cron facility.
com.protomatter.pas.event - package com.protomatter.pas.event
Interfaces for the PAS event tree facility.
com.protomatter.pas.eventmanager - package com.protomatter.pas.eventmanager
The default implementation of the PAS event tree facility.
com.protomatter.pas.init - package com.protomatter.pas.init
Interfaces for the PAS startup/shutdown facilities.
com.protomatter.pas.jndi - package com.protomatter.pas.jndi
The JNDI implementation provided by PAS.
com.protomatter.pas.jndi.spi - package com.protomatter.pas.jndi.spi
The JNDI SPI implementation provided by PAS.
com.protomatter.pas.service - package com.protomatter.pas.service
Interfaces for miscellaneous PAS services.
com.protomatter.pas.serviceimpl - package com.protomatter.pas.serviceimpl
Default implementations for miscellaneous PAS services.
com.protomatter.pas.servlet - package com.protomatter.pas.servlet
Useful classes for servlets interfacing with PAS.
composeName(Name, Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
composeName(String, String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
createSubcontext(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
createSubcontext(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
CronEntry - class com.protomatter.pas.cron.CronEntry.
A cron entry.
CronEntry() - Constructor for class com.protomatter.pas.cron.CronEntry
Create an empty CronEntry.

D

destroy() - Method in class com.protomatter.pas.PASServlet
Runs all registered PASShutdown classes.
destroySubcontext(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
destroySubcontext(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.

E

ExampleEventListener - class com.protomatter.pas.event.ExampleEventListener.
A simple event listener class.
ExampleEventListener() - Constructor for class com.protomatter.pas.event.ExampleEventListener
Default constructor.

F

formatException(Throwable) - Method in class com.protomatter.pas.servlet.PASServlet
Format an exteption.

G

getConnection() - Method in class com.protomatter.pas.base.ProtoPASStartup
Get a connection using the driver, URL and properties that were specified as startup arguments.
getConnection(String) - Method in class com.protomatter.pas.servlet.PASServlet
Return a connection from the given JDBC connection pool.
getContext() - Static method in class com.protomatter.pas.jndi.JNDIUtil
Gets a context using the com.protomatter.pas.jndi.spi.PASInitialContextFactory class as the initial context factory.
getEnvironment() - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
getEvent() - Method in class com.protomatter.pas.cron.CronEntry
Get this entry's event.
getInitialContext() - Method in class com.protomatter.pas.servlet.PASServlet
Get a reference to a JNDI context attached to the PAS JNDI tree.
getInitialContext(Hashtable) - Method in class com.protomatter.pas.jndi.spi.PASInitialContextFactory
Get a context based on the parameters specified in environment.
getInstance() - Static method in class com.protomatter.pas.PASCore
Get the globally unique instance of PAS.
getInstance() - Static method in class com.protomatter.pas.PASServlet
Get the globally unique instance of PAS.
getJDBCDriverClass() - Method in class com.protomatter.pas.base.ProtoPASStartup
Get the class name of the JDBC driver that was specified as a startup argument.
getJDBCProperties() - Method in class com.protomatter.pas.base.ProtoPASStartup
Get the properties that were specified as startup arguments for opening JDBC connections.
getJDBCURL() - Method in class com.protomatter.pas.base.ProtoPASStartup
Get the JDBC URL that will be used for opening connections.
getNameInNamespace() - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
getNameParser(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
getNameParser(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
getNumThreads(String) - Method in interface com.protomatter.pas.service.PASWorkService
Get the number of threads available in the given queue.
getNumThreads(String) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
getNumWaiters(String) - Method in interface com.protomatter.pas.service.PASWorkService
Get the number of threads waiting in the given queue.
getNumWaiters(String) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
getNumWorkers(String) - Method in interface com.protomatter.pas.service.PASWorkService
Get the number of workers in the given queue.
getNumWorkers(String) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
getPayload() - Method in class com.protomatter.pas.event.PASEvent
Get the payload of this event.
getProperties() - Method in class com.protomatter.pas.PASCore
Get the system configuration.
getProperties() - Method in class com.protomatter.pas.PASServlet
Get the system configuration.
getProperties(String) - Static method in class com.protomatter.pas.PASPropertyUtil
Parse a string that looks like "foo=bar,this=that" into properties.
getProperties(String) - Method in class com.protomatter.pas.base.ProtoPASStartup
A utility method.
getQueueLength(String) - Method in interface com.protomatter.pas.service.PASWorkService
Get the length of the given queue.
getQueueLength(String) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
getQueueNames() - Method in interface com.protomatter.pas.service.PASWorkService
Get the names of available queues.
getQueueNames() - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
 
getServletInfo() - Method in class com.protomatter.pas.PASServlet
Return information about this servlet.
getTopics() - Method in class com.protomatter.pas.cron.CronEntry
Get the list of topics this entry will submit it's event to.
getVersion() - Method in class com.protomatter.pas.PASCore
Return a version String.

H

handlePASEvent(String, PASEvent) - Method in class com.protomatter.pas.event.ExampleEventListener
Simply logs the event using Syslog.
handlePASEvent(String, PASEvent) - Method in interface com.protomatter.pas.event.PASEventListener
This method is called when an event arrives and the implementor of this object is listening for the given topic.

I

init(ServletConfig) - Method in class com.protomatter.pas.PASServlet
Reads the configuration file (specified with the "properties" initialization parameter) and starts all configured services.

J

JNDI_NAME - Static variable in interface com.protomatter.pas.cron.PASCronManager
Implementations of this interface are placed at this location in the JNDI tree.
JNDI_NAME - Static variable in interface com.protomatter.pas.event.PASEventManager
Implementations of this interface are placed at this location in the JNDI tree.
JNDI_NAME - Static variable in interface com.protomatter.pas.service.PASWorkService
Implementations of this interface are placed in the JNDI tree at this location.
JNDIUtil - class com.protomatter.pas.jndi.JNDIUtil.
A utility class for looking up servers in the PAS JNDI tree.

L

list(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
list(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
listBindings(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
listBindings(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
listCronEntries() - Method in interface com.protomatter.pas.cron.PASCronManager
Get the system's list of cron entries.
listCronEntries() - Method in class com.protomatter.pas.cronmanager.PASCronManagerImpl
 
lookup(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
lookup(String) - Method in class com.protomatter.pas.jndi.PASContext
 
lookupLink(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
lookupLink(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
lookupRMIServer(Class) - Static method in class com.protomatter.pas.jndi.JNDIUtil
Given the class of the interface for an RMI server, find it in the JNDI tree.

M

main(String[]) - Static method in class com.protomatter.pas.PASCore
Start PASCore as a standalone application.

P

PASContext - class com.protomatter.pas.jndi.PASContext.
PAS's (incomplete) implementation of the javax.naming.Context interface.
PASContext() - Constructor for class com.protomatter.pas.jndi.PASContext
 
PASCore - class com.protomatter.pas.PASCore.
The PAS Core.
PASCore() - Constructor for class com.protomatter.pas.PASCore
Default constructor.
PASCronManager - interface com.protomatter.pas.cron.PASCronManager.
A simple cron-like facility.
PASCronManagerImpl - class com.protomatter.pas.cronmanager.PASCronManagerImpl.
The default implementation of the PASCronManager interface.
PASCronManagerImpl() - Constructor for class com.protomatter.pas.cronmanager.PASCronManagerImpl
Default constructor.
PASCronManagerStartup - class com.protomatter.pas.cron.PASCronManagerStartup.
A startup class for registering cron events via the PAS properties file.
PASCronManagerStartup() - Constructor for class com.protomatter.pas.cron.PASCronManagerStartup
Default constructor.
PASEvent - class com.protomatter.pas.event.PASEvent.
A simple event class for encapsulating a payload.
PASEvent(Object) - Constructor for class com.protomatter.pas.event.PASEvent
Create a new event with the given payload.
PASEventListener - interface com.protomatter.pas.event.PASEventListener.
This interface must be implemented by objects wishing to listen to events in the PAS event tree.
PASEventListenerStartup - class com.protomatter.pas.event.PASEventListenerStartup.
Register event listeners at startup via the PAS properties file.
PASEventListenerStartup() - Constructor for class com.protomatter.pas.event.PASEventListenerStartup
Default constructor.
PASEventManager - interface com.protomatter.pas.event.PASEventManager.
This interface is implemented internally by PAS.
PASEventManagerImpl - class com.protomatter.pas.eventmanager.PASEventManagerImpl.
The default implementation of the PASEventManager interface.
PASEventManagerImpl() - Constructor for class com.protomatter.pas.eventmanager.PASEventManagerImpl
Default constructor.
PASInitialContextFactory - class com.protomatter.pas.jndi.spi.PASInitialContextFactory.
An implementation of the javax.naming.InitialContextFactory that can connect with the JNDI tree in PAS.
PASInitialContextFactory() - Constructor for class com.protomatter.pas.jndi.spi.PASInitialContextFactory
Default constructor.
PASJdbcPoolShutdown - class com.protomatter.jdbc.pool.PASJdbcPoolShutdown.
A shutdown class for use with the Protomatter Application Server.
PASJdbcPoolShutdown() - Constructor for class com.protomatter.jdbc.pool.PASJdbcPoolShutdown
 
PASJdbcPoolStartup - class com.protomatter.jdbc.pool.PASJdbcPoolStartup.
A startup class for use with the Protomatter Application Server.
PASJdbcPoolStartup() - Constructor for class com.protomatter.jdbc.pool.PASJdbcPoolStartup
Default constructor.
PASPropertyUtil - class com.protomatter.pas.PASPropertyUtil.
A utility class for parsing properties files.
PASServlet - class com.protomatter.pas.PASServlet.
The PAS Servlet.
PASServlet - class com.protomatter.pas.servlet.PASServlet.
A useful baseclass for servlets that work with PAS.
PASServlet() - Constructor for class com.protomatter.pas.PASServlet
Default constructor.
PASServlet() - Constructor for class com.protomatter.pas.servlet.PASServlet
Default constructor.
PASShutdown - interface com.protomatter.pas.init.PASShutdown.
Objects implementing this interface and listed in the configuration file for PAS are run when PAS is shutting down.
PASStartup - interface com.protomatter.pas.init.PASStartup.
Objects implementing this interface and listed in the configuration file for PAS are started when PAS is started.
PASWorkService - interface com.protomatter.pas.service.PASWorkService.
Provides a uniform way of interacting with asynchronous work queues.
PASWorkServiceImpl - class com.protomatter.pas.serviceimpl.PASWorkServiceImpl.
The default implementation of the com.protomatter.pas.service.PASWorkService interface.
PASWorkServiceImpl() - Constructor for class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
Default constructor.
ProtoPASStartup - class com.protomatter.pas.base.ProtoPASStartup.
A default implementation of the PASStartup interface.
ProtoPASStartup() - Constructor for class com.protomatter.pas.base.ProtoPASStartup
Default constructor.

R

rebind(Name, Object) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
rebind(String, Object) - Method in class com.protomatter.pas.jndi.PASContext
 
registerListener(String, PASEventListener) - Method in interface com.protomatter.pas.event.PASEventManager
Register interest in the given topic.
registerListener(String, PASEventListener) - Method in class com.protomatter.pas.eventmanager.PASEventManagerImpl
 
removeCronEntry(CronEntry) - Method in interface com.protomatter.pas.cron.PASCronManager
Remove an entry from the master list of cron entries.
removeCronEntry(CronEntry) - Method in class com.protomatter.pas.cronmanager.PASCronManagerImpl
 
removeDay(int) - Method in class com.protomatter.pas.cron.CronEntry
Remove a day of the month from the list of years this entry applies to.
removeFromEnvironment(String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
removeHour(int) - Method in class com.protomatter.pas.cron.CronEntry
Remove an hour from the list of years this entry applies to.
removeMinute(int) - Method in class com.protomatter.pas.cron.CronEntry
Remove a minute from the list of years this entry applies to.
removeMonth(int) - Method in class com.protomatter.pas.cron.CronEntry
Remove a month from the list of years this entry applies to.
removeTopic(String) - Method in class com.protomatter.pas.cron.CronEntry
Remove a topic from the list of topics this entry will submit it's event to.
removeWeekday(int) - Method in class com.protomatter.pas.cron.CronEntry
Remove a weekday from the list of years this entry applies to.
removeYear(int) - Method in class com.protomatter.pas.cron.CronEntry
Remove a year from the list of years this entry applies to.
rename(Name, Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
rename(String, String) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.

S

sendEvent(String, PASEvent) - Method in interface com.protomatter.pas.event.PASEventManager
Send an event to the given topic.
sendEvent(String, PASEvent) - Method in class com.protomatter.pas.eventmanager.PASEventManagerImpl
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.protomatter.pas.PASServlet
Prints out the configuration file as HTML.
setAllDays(boolean) - Method in class com.protomatter.pas.cron.CronEntry
Should the current day of the month be taken into consideration when deciding if this entry is applicable? If this is set to false (the default) then the values set with the addDay() and removeDay() are taken into consideration.
setAllHours(boolean) - Method in class com.protomatter.pas.cron.CronEntry
Should the current hour be taken into consideration when deciding if this entry is applicable? If this is set to false (the default) then the values set with the addHour() and removeHour() are taken into consideration.
setAllMinutes(boolean) - Method in class com.protomatter.pas.cron.CronEntry
Should the current minute be taken into consideration when deciding if this entry is applicable? If this is set to false (the default) then the values set with the addMinute() and removeMinute() are taken into consideration.
setAllMonths(boolean) - Method in class com.protomatter.pas.cron.CronEntry
Should the current month be taken into consideration when deciding if this entry is applicable? If this is set to false (the default) then the values set with the addMonth() and removeMonth() are taken into consideration.
setAllWeekdays(boolean) - Method in class com.protomatter.pas.cron.CronEntry
Should the current weekday be taken into consideration when deciding if this entry is applicable? If this is set to false (the default) then the values set with the addWeekday() and removeWeekday() are taken into consideration.
setAllYears(boolean) - Method in class com.protomatter.pas.cron.CronEntry
Should the current year be taken into consideration when deciding if this entry is applicable? If this is set to false (the default) then the values set with the addYear() and removeYear() are taken into consideration.
setEvent(PASEvent) - Method in class com.protomatter.pas.cron.CronEntry
Set this entry's event.
shutdown() - Method in class com.protomatter.pas.PASCore
Runs all registered PASShutdown classes.
shutdown(String, Properties, Properties, Context) - Method in interface com.protomatter.pas.init.PASShutdown
Shut this thing down.
shutdown(String, Properties, Properties, Context) - Method in class com.protomatter.jdbc.pool.PASJdbcPoolShutdown
Shutdown all registered connection pools.
ShutdownException - exception com.protomatter.pas.init.ShutdownException.
An exception generated while an implementation of the PASShutdown interface was shutting down.
ShutdownException() - Constructor for class com.protomatter.pas.init.ShutdownException
 
ShutdownException(String) - Constructor for class com.protomatter.pas.init.ShutdownException
 
startup(Properties, Properties, Context) - Method in class com.protomatter.pas.base.ProtoPASStartup
Default startup method.
startup(String, Properties) - Method in class com.protomatter.pas.PASCore
Starts all configured services.
startup(String, Properties, Properties, Context) - Method in class com.protomatter.pas.base.ProtoPASStartup
This method must be implemented by sub-classes.
startup(String, Properties, Properties, Context) - Method in class com.protomatter.pas.cron.PASCronManagerStartup
 
startup(String, Properties, Properties, Context) - Method in class com.protomatter.pas.cronmanager.PASCronManagerImpl
 
startup(String, Properties, Properties, Context) - Method in class com.protomatter.pas.event.PASEventListenerStartup
 
startup(String, Properties, Properties, Context) - Method in class com.protomatter.pas.eventmanager.PASEventManagerImpl
 
startup(String, Properties, Properties, Context) - Method in interface com.protomatter.pas.init.PASStartup
Start this thing up.
startup(String, Properties, Properties, Context) - Method in class com.protomatter.pas.serviceimpl.PASWorkServiceImpl
Start work queues.
startup(String, Properties, Properties, Context) - Method in class com.protomatter.jdbc.pool.PASJdbcPoolStartup
Start JDBC connection pools.
StartupException - exception com.protomatter.pas.init.StartupException.
An exception generated while an implementation of the PASStartup interface was starting.
StartupException() - Constructor for class com.protomatter.pas.init.StartupException
 
StartupException(String) - Constructor for class com.protomatter.pas.init.StartupException
 
STATUS_PROPERTY - Static variable in class com.protomatter.pas.PASCore
The name of the system property for PAS's status.

T

toString() - Method in class com.protomatter.pas.event.PASEvent
 

U

unbind(Name) - Method in class com.protomatter.pas.jndi.PASContext
Not implemented.
unbind(String) - Method in class com.protomatter.pas.jndi.PASContext
 
unregisterListener(String, PASEventListener) - Method in interface com.protomatter.pas.event.PASEventManager
Un-register interest in the given topic.
unregisterListener(String, PASEventListener) - Method in class com.protomatter.pas.eventmanager.PASEventManagerImpl
 

A B C D E F G H I J L M P R S T U
Protomatter Application Server v1.0
Copyright 1998-2002 Nate Sammons

Protomatter Application Server v1.0 http://protomatter.sourceforge.net/pas/1.0