]> git.somenet.org - pub/jan/dst18.git/blob - ass2-di/src/main/java/dst/ass2/di/InjectionControllerFactory.java
Add template for assignment 2
[pub/jan/dst18.git] / ass2-di / src / main / java / dst / ass2 / di / InjectionControllerFactory.java
1 package dst.ass2.di;
2
3 /**
4  * Creates and provides {@link IInjectionController} instances.
5  */
6 public class InjectionControllerFactory {
7
8
9     /**
10      * Returns the singleton {@link IInjectionController} instance.<br/>
11      * If none is available, a new one is created.
12      *
13      * @return the instance
14      */
15     public static synchronized IInjectionController getStandAloneInstance() {
16         // TODO
17         return null;
18     }
19
20     /**
21      * Returns the singleton {@link IInjectionController} instance for processing objects modified by an
22      * {@link dst.ass2.di.agent.InjectorAgent InjectorAgent}.<br/>
23      * If none is available, a new one is created.
24      *
25      * @return the instance
26      */
27     public static synchronized IInjectionController getTransparentInstance() {
28         // TODO
29         return null;
30     }
31
32     /**
33      * Creates and returns a new {@link IInjectionController} instance.
34      *
35      * @return the newly created instance
36      */
37     public static IInjectionController getNewStandaloneInstance() {
38         // TODO
39         return null;
40     }
41
42     /**
43      * Creates and returns a new {@link IInjectionController} instance for processing objects modified by an
44      * {@link dst.ass2.di.agent.InjectorAgent InjectorAgent}.<br/>
45      *
46      * @return the instance
47      */
48     public static IInjectionController getNewTransparentInstance() {
49         // TODO
50         return null;
51     }
52 }