Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 78 lines (51 sloc) 1.822 kb
55063ed @hyphaltip Client side code remapped to new Biocorba 0.2 and improved SeqI inter…
hyphaltip authored
1 # $Id$
a93efc6 This commit was generated by cvs2svn to compensate for changes in r2,
birney authored
2 #
3 # BioPerl module for Bio::CorbaClient::ORB
4 #
5 # Cared for by Ewan Birney <birney@ebi.ac.uk>
6 #
7 # Copyright Ewan Birney
8 #
9 # You may distribute this module under the same terms as perl itself
10
11 # POD documentation - main docs before the code
12
13 =head1 NAME
14
15 Bio::CorbaClient::ORB - Singleton class to wrap orb intialisation
16
17 =head1 SYNOPSIS
18
19 $orb = Bio::CorbaClient::ORB->get_orb;
20
21 =head1 DESCRIPTION
22
23 This class wraps the ability to get the Orb for all CORBA clients.
24
25 It is also likely to where any magic about getting the biocorba.idl
26 happens.
27
28 =head1 FEEDBACK
29
30 =head2 Mailing Lists
31
55063ed @hyphaltip Client side code remapped to new Biocorba 0.2 and improved SeqI inter…
hyphaltip authored
32 User feedback is an integral part of the evolution of this and other
33 Bioperl modules. Send your comments and suggestions preferably to one
34 of the Bioperl mailing lists. Your participation is much appreciated.
a93efc6 This commit was generated by cvs2svn to compensate for changes in r2,
birney authored
35
55063ed @hyphaltip Client side code remapped to new Biocorba 0.2 and improved SeqI inter…
hyphaltip authored
36 bioperl-l@bioperl.org - General Bioperl discussion
37 biocorba-l@biocorba.org - General Biocorba discussion
38 http://www.bioperl.org/MailList.html - About the bioperl mailing list
39 http://www.biocorba.org/MailList.shtml - About the biocorba mailing list
a93efc6 This commit was generated by cvs2svn to compensate for changes in r2,
birney authored
40
41 =head2 Reporting Bugs
42
43 Report bugs to the Bioperl bug tracking system to help us keep track
55063ed @hyphaltip Client side code remapped to new Biocorba 0.2 and improved SeqI inter…
hyphaltip authored
44 the bugs and their resolution. Bug reports can be submitted via email
45 or the web:
a93efc6 This commit was generated by cvs2svn to compensate for changes in r2,
birney authored
46
47 bioperl-bugs@bio.perl.org
48 http://bio.perl.org/bioperl-bugs/
49
55063ed @hyphaltip Client side code remapped to new Biocorba 0.2 and improved SeqI inter…
hyphaltip authored
50 =head1 AUTHOR - Ewan Birney, Jason Stajich
a93efc6 This commit was generated by cvs2svn to compensate for changes in r2,
birney authored
51
52 Email birney@ebi.ac.uk
55063ed @hyphaltip Client side code remapped to new Biocorba 0.2 and improved SeqI inter…
hyphaltip authored
53 jason@chg.mc.duke.edu
a93efc6 This commit was generated by cvs2svn to compensate for changes in r2,
birney authored
54
55 Describe contact details here
56
57 =head1 APPENDIX
58
59 The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
60
61 =cut
62
63 # Let the code begin...
64
65 package Bio::CorbaClient::ORB;
66 use CORBA::ORBit idl => [ 'biocorba.idl' ];
67
68 my $orb;
69
70 sub get_orb {
71 if( !defined $orb ) {
72 $orb = CORBA::ORB_init("orbit-local-orb");
73 }
74 return $orb;
75 }
76
77 1;
Something went wrong with that request. Please try again.