A B C D E G I L M O P R S T V

A

add(double, double) - Method in interface org.apache.examples.Adder
 
add(double, double) - Method in class org.apache.examples.impl.AdderImpl
 
add(double, double) - Method in class org.apache.examples.impl.CalculatorImpl
 
Adder - Interface in org.apache.examples
A service that adds two numbers together.
AdderImpl - Class in org.apache.examples.impl
Implementation of the Adder interface.
AdderImpl() - Constructor for class org.apache.examples.impl.AdderImpl
 

B

buildClasspathRegistry(String) - Static method in class org.apache.examples.ExampleUtils
Convenience method for invoking ExampleUtils.buildClasspathRegistry(String[]) with only a single file.
buildClasspathRegistry(String[]) - Static method in class org.apache.examples.ExampleUtils
Builds a registry for files in the classpath.
buildList(String, int) - Method in class org.apache.examples.impl.TargetServiceImpl
 
buildList(String, int) - Method in interface org.apache.examples.TargetService
 

C

Calculator - Interface in org.apache.examples
Service that provides a number of basic math operations.
CalculatorImpl - Class in org.apache.examples.impl
Implementation of the Calculator service interface.
CalculatorImpl() - Constructor for class org.apache.examples.impl.CalculatorImpl
 
CalculatorMain - Class in org.apache.examples.annotations.calculator
Builds the Registry for Calculator example based on annotations, then exits.
CalculatorMain() - Constructor for class org.apache.examples.annotations.calculator.CalculatorMain
 
CalculatorMain - Class in org.apache.examples
Runs through the methods of the Calculator with a pair of argument values parsed from the command line.
CalculatorMain() - Constructor for class org.apache.examples.CalculatorMain
 
CalculatorModule - Class in org.apache.examples.annotations.calculator
Example of an annotated module that creates a calculator.
CalculatorModule() - Constructor for class org.apache.examples.annotations.calculator.CalculatorModule
 
contributeStartupServices(List) - Method in class org.apache.examples.annotations.panorama.PanoramaStartupModule
 
contributeTaks(List<Task>) - Method in class org.apache.examples.annotations.panorama.PanoramaDiscussionsModule
 
contributeTaks(List<Task>) - Method in class org.apache.examples.annotations.panorama.PanoramaMailModule
 
createInterceptor(InterceptorStack, Module, Object) - Method in class org.apache.examples.impl.ProxyLoggingInterceptorFactory
 

D

DiscussionsStartup - Class in org.apache.examples.panorama.discussions
Placeholder for startup logic for the Discussions tool.
DiscussionsStartup() - Constructor for class org.apache.examples.panorama.discussions.DiscussionsStartup
 
divide(double, double) - Method in interface org.apache.examples.Divider
 
divide(double, double) - Method in class org.apache.examples.impl.CalculatorImpl
 
divide(double, double) - Method in class org.apache.examples.impl.DividerImpl
 
Divider - Interface in org.apache.examples
Service that divides two numbers.
DividerImpl - Class in org.apache.examples.impl
Implementation of the Divider interface.
DividerImpl() - Constructor for class org.apache.examples.impl.DividerImpl
 

E

ExampleUtils - Class in org.apache.examples
Utilities needed by the examples.
exceptionThrower() - Method in class org.apache.examples.impl.TargetServiceImpl
 
exceptionThrower() - Method in interface org.apache.examples.TargetService
 
Executable - Interface in org.apache.examples.panorama.startup
Much like Runnable, but allows the caller to handle any exceptions thrown.
execute() - Method in class org.apache.examples.panorama.mail.MailStartup
 
execute() - Method in interface org.apache.examples.panorama.startup.Executable
 
execute() - Method in class org.apache.examples.panorama.startup.impl.ExecuteStatic
 
execute() - Method in class org.apache.examples.panorama.startup.impl.Task
Delegates to the executable object.
ExecuteStatic - Class in org.apache.examples.panorama.startup.impl
Used to access the legacy startup code that is in the form of a public static method (usually init()) on some class.
ExecuteStatic() - Constructor for class org.apache.examples.panorama.startup.impl.ExecuteStatic
 

G

getAdderService() - Method in class org.apache.examples.annotations.calculator.CalculatorModule
 
getAfter() - Method in class org.apache.examples.panorama.startup.impl.Task
 
getBefore() - Method in class org.apache.examples.panorama.startup.impl.Task
 
getCalculatorService() - Method in class org.apache.examples.annotations.calculator.CalculatorModule
 
getDiscussionsModule() - Method in class org.apache.examples.annotations.panorama.PanoramaModule
 
getDividerService() - Method in class org.apache.examples.annotations.calculator.CalculatorModule
 
getId() - Method in class org.apache.examples.panorama.startup.impl.Task
 
getMailModule() - Method in class org.apache.examples.annotations.panorama.PanoramaModule
 
getMailStartupService() - Method in class org.apache.examples.annotations.panorama.PanoramaMailModule
 
getMultiplierService() - Method in class org.apache.examples.annotations.calculator.CalculatorModule
 
getResource(String) - Static method in class org.apache.examples.ExampleUtils
Returns the given file as a Resource from the classpath.
getStartupModule() - Method in class org.apache.examples.annotations.panorama.PanoramaModule
 
getStartupService() - Method in class org.apache.examples.annotations.panorama.PanoramaStartupModule
 
getSubtractorService() - Method in class org.apache.examples.annotations.calculator.CalculatorModule
 
getTasks() - Method in class org.apache.examples.annotations.panorama.PanoramaStartupModule
 
getTitle() - Method in class org.apache.examples.panorama.startup.impl.Task
 

I

init() - Static method in class org.apache.examples.panorama.discussions.DiscussionsStartup
 
invoke(Object, Method, Object[]) - Method in class org.apache.examples.impl.ProxyLoggingInvocationHandler
 

L

LoggingMain - Class in org.apache.examples
 
LoggingMain() - Constructor for class org.apache.examples.LoggingMain
 

M

MailStartup - Class in org.apache.examples.panorama.mail
Placeholder for startup logic related to the Mail tool.
MailStartup() - Constructor for class org.apache.examples.panorama.mail.MailStartup
 
main(String[]) - Static method in class org.apache.examples.annotations.calculator.CalculatorMain
 
main(String[]) - Static method in class org.apache.examples.annotations.panorama.PanoramaMain
 
main(String[]) - Static method in class org.apache.examples.CalculatorMain
 
main(String[]) - Static method in class org.apache.examples.LoggingMain
 
main(String[]) - Static method in class org.apache.examples.panorama.startup.PanoramaMain
 
Multiplier - Interface in org.apache.examples
Service that multiplies two numbers together.
MultiplierImpl - Class in org.apache.examples.impl
Implementation of the Multiplier interface.
MultiplierImpl() - Constructor for class org.apache.examples.impl.MultiplierImpl
 
multiply(double, double) - Method in class org.apache.examples.impl.CalculatorImpl
 
multiply(double, double) - Method in class org.apache.examples.impl.MultiplierImpl
 
multiply(double, double) - Method in interface org.apache.examples.Multiplier
 

O

org.apache.examples - package org.apache.examples
 
org.apache.examples.annotations.calculator - package org.apache.examples.annotations.calculator
 
org.apache.examples.annotations.panorama - package org.apache.examples.annotations.panorama
 
org.apache.examples.impl - package org.apache.examples.impl
 
org.apache.examples.panorama.discussions - package org.apache.examples.panorama.discussions
 
org.apache.examples.panorama.mail - package org.apache.examples.panorama.mail
 
org.apache.examples.panorama.startup - package org.apache.examples.panorama.startup
 
org.apache.examples.panorama.startup.impl - package org.apache.examples.panorama.startup.impl
 
org.apache.examples.setters - package org.apache.examples.setters
 

P

PanoramaDiscussionsModule - Class in org.apache.examples.annotations.panorama
 
PanoramaDiscussionsModule() - Constructor for class org.apache.examples.annotations.panorama.PanoramaDiscussionsModule
 
PanoramaMailModule - Class in org.apache.examples.annotations.panorama
 
PanoramaMailModule() - Constructor for class org.apache.examples.annotations.panorama.PanoramaMailModule
 
PanoramaMain - Class in org.apache.examples.annotations.panorama
Builds the Registry for Panorama example based on annotations, then exits.
PanoramaMain() - Constructor for class org.apache.examples.annotations.panorama.PanoramaMain
 
PanoramaMain - Class in org.apache.examples.panorama.startup
Builds the Registry for Panorama, then exits.
PanoramaMain() - Constructor for class org.apache.examples.panorama.startup.PanoramaMain
 
PanoramaModule - Class in org.apache.examples.annotations.panorama
 
PanoramaModule() - Constructor for class org.apache.examples.annotations.panorama.PanoramaModule
 
PanoramaStartupModule - Class in org.apache.examples.annotations.panorama
 
PanoramaStartupModule() - Constructor for class org.apache.examples.annotations.panorama.PanoramaStartupModule
 
ProxyLoggingInterceptorFactory - Class in org.apache.examples.impl
Creates a simple, proxy-based interceptor that mimics most (but not all) of the behavior of LoggingInterceptorClassFactory.
ProxyLoggingInterceptorFactory() - Constructor for class org.apache.examples.impl.ProxyLoggingInterceptorFactory
 
ProxyLoggingInvocationHandler - Class in org.apache.examples.impl
An invocation handler used by ProxyLoggingInterceptorFactory.
ProxyLoggingInvocationHandler(Log, Object) - Constructor for class org.apache.examples.impl.ProxyLoggingInvocationHandler
 

R

run() - Method in class org.apache.examples.panorama.startup.impl.TaskExecutor
Orders the tasks into an execution order, and executes each in turn.
run() - Method in class org.apache.examples.setters.SetterService
 

S

setAdder(Adder) - Method in class org.apache.examples.impl.CalculatorImpl
 
setAdderService(Adder) - Method in class org.apache.examples.setters.SetterService
 
setAfter(String) - Method in class org.apache.examples.panorama.startup.impl.Task
 
setBefore(String) - Method in class org.apache.examples.panorama.startup.impl.Task
 
setConfiguration(List) - Method in class org.apache.examples.setters.SetterService
 
setContainer(Collection) - Method in class org.apache.examples.setters.SetterService
 
setDivider(Divider) - Method in class org.apache.examples.impl.CalculatorImpl
 
setDoubleValue(double) - Method in class org.apache.examples.setters.SetterService
 
setErrorLog(ErrorLog) - Method in class org.apache.examples.panorama.startup.impl.TaskExecutor
 
setExecutable(Executable) - Method in class org.apache.examples.panorama.startup.impl.Task
 
setId(String) - Method in class org.apache.examples.panorama.startup.impl.Task
 
setIntValue(int) - Method in class org.apache.examples.setters.SetterService
 
setLog(Log) - Method in class org.apache.examples.panorama.startup.impl.TaskExecutor
 
setMessages(Messages) - Method in class org.apache.examples.panorama.startup.impl.TaskExecutor
 
setMethodName(String) - Method in class org.apache.examples.panorama.startup.impl.ExecuteStatic
Sets the name of the method to invoke; if not set, the default is init.
setMultiplier(Multiplier) - Method in class org.apache.examples.impl.CalculatorImpl
 
setStringValue(String) - Method in class org.apache.examples.setters.SetterService
 
setSubtracter(Subtracter) - Method in class org.apache.examples.impl.CalculatorImpl
 
setTargetClass(Class) - Method in class org.apache.examples.panorama.startup.impl.ExecuteStatic
Sets the class to invoke the method on.
setTasks(List) - Method in class org.apache.examples.panorama.startup.impl.TaskExecutor
 
SetterService - Class in org.apache.examples.setters
Demonstrates the use of setter based dependency injection using the BuilderFactory.
SetterService() - Constructor for class org.apache.examples.setters.SetterService
 
setTextResource(Resource) - Method in class org.apache.examples.setters.SetterService
 
setTitle(String) - Method in class org.apache.examples.panorama.startup.impl.Task
 
subtract(double, double) - Method in class org.apache.examples.impl.CalculatorImpl
 
subtract(double, double) - Method in class org.apache.examples.impl.SubtracterImpl
 
subtract(double, double) - Method in interface org.apache.examples.Subtracter
 
Subtracter - Interface in org.apache.examples
Service that subtracts two numbers.
SubtracterImpl - Class in org.apache.examples.impl
Implementation of the Subtracter interface.
SubtracterImpl() - Constructor for class org.apache.examples.impl.SubtracterImpl
 

T

TargetService - Interface in org.apache.examples
Used to demonstrate the ProxyLoggingInterceptorFactory.
TargetServiceImpl - Class in org.apache.examples.impl
Implementation of TargetService used to demonstrate the ProxyLoggingInterceptorFactory.
TargetServiceImpl() - Constructor for class org.apache.examples.impl.TargetServiceImpl
 
Task - Class in org.apache.examples.panorama.startup.impl
An operation that may be executed.
Task() - Constructor for class org.apache.examples.panorama.startup.impl.Task
 
TaskExecutor - Class in org.apache.examples.panorama.startup.impl
A service that executes a series of Tasks.
TaskExecutor() - Constructor for class org.apache.examples.panorama.startup.impl.TaskExecutor
 

V

voidMethod(String) - Method in class org.apache.examples.impl.TargetServiceImpl
 
voidMethod(String) - Method in interface org.apache.examples.TargetService
 

A B C D E G I L M O P R S T V

Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.