/[cvs]/nfo/perl/libs/Data/Transfer/Sync.pm
ViewVC logotype

Contents of /nfo/perl/libs/Data/Transfer/Sync.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations)
Sun Feb 9 04:56:03 2003 UTC (21 years, 4 months ago) by joko
Branch: MAIN
Changes since 1.15: +23 -14 lines
+ modified header
+ api versioning mechanism

1 ## -------------------------------------------------------------------------
2 ##
3 ## $Id: Sync.pm,v 1.15 2003/01/20 16:58:07 joko Exp $
4 ##
5 ## Copyright (c) 2002, 2003 Andreas Motl <andreas.motl@ilo.de>
6 ##
7 ## This module is licensed under the same terms as Perl itself.
8 ##
9 ## -------------------------------------------------------------------------
10 ## $Log: Sync.pm,v $
11 ## Revision 1.15 2003/01/20 16:58:07 joko
12 ## + loading new plugin-modules on startup: 'Metadata' and 'StorageInterface'
13 ## both refactored from other - already established - plugin-modules
14 ##
15 ## Revision 1.14 2003/01/19 03:25:54 joko
16 ## + modified header
17 ##
18 ## Revision 1.13 2003/01/19 01:23:03 joko
19 ## + new from Data/Transfer/Sync.pm
20 ## -------------------------------------------------------------------------
21
22
23 package Data::Transfer::Sync;
24
25 use strict;
26 use warnings;
27
28 use base qw( DesignPattern::Object );
29 use base qw( DesignPattern::Bridge );
30
31
32 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - main
33
34 use Data::Dumper;
35
36 # get logger instance
37 my $logger = Log::Dispatch::Config->instance;
38
39 sub constructor {
40 my $self = shift;
41 #print Dumper($self);
42 #exit;
43 $logger->debug( __PACKAGE__ . "->constructor" );
44 $self->load('Core');
45 $self->load('Metadata');
46 $self->load('API', { method => 'api_constructor' } );
47 $self->load('StorageInterface');
48 $self->load('Compare::Checksum');
49 $self->configure(@_);
50 }
51
52 1;

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed