1Pipeline::Store(3) User Contributed Perl Documentation Pipeline::Store(3)
2
3
4
6 Pipeline::Store - defines the interface for Pipeline store classes
7
9 use Pipeline::Store; # interface class, does very little
10
12 "Pipeline::Store" provides a constructor and a generic get/set
13 interface for any class implementing a store to sit on a Pipeline.
14 Pipeline stores are singletons inside the dispatch process. Ie, if you
15 attempt to construct a pipeline store in between the dispatch method
16 being called on a pipeline segment and having the method return a value
17 then you will get the same store as that segments store() method.
18
20 The Pipeline class inherits from the "Pipeline::Base" class and
21 therefore also has any additional methods that its superclass may have.
22
23 new()
24 The "new" method constructs a new Pipeline::Store object and calls
25 the "init" method. If the transaction flat is set then it returns
26 the current store singleton.
27
28 init()
29 The "init" method is called by new() to do any construction-time
30 initialization of an object.
31
32 start_transaction
33 Sets the transaction flag, which makes the store object that this
34 is called on a singleton until end_transaction is called.
35
36 end_transaction
37 Clears the transaction flag, which lets you construct new pipeline
38 stores.
39
40 store( [ store ] )
41 The "store" method gets or sets the store in a Pipeline::Store
42 object. Unless "init" is changed the store is set at construction
43 time to a hash reference.
44
45 get()
46 Does nothing in Pipeline::Store - exists as a placeholder for
47 subclasses.
48
49 set()
50 Does nothing in Pipeline::Store - exists as a placeholder for
51 subclasses.
52
54 "Pipeline", "Pipeline::Store::Simple", "Pipeline::Store::ISA"
55
57 Copyright 2003 Fotango Ltd. All Rights Reserved
58
59 This module is released under the same license as Perl itself.
60
62 James A. Duncan <jduncan@fotango.com>
63
64
65
66perl v5.30.1 2020-01-30 Pipeline::Store(3)