KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > sharing > FieldSharingManager


1 //
2
// FieldSharingManager
3
// EV 03.12.2000
4
//
5
// getRemoteFieldValue( urlPath )
6
//
7

8 package org.jahia.sharing;
9
10 import org.jahia.utils.JahiaConsole;
11
12
13 public class FieldSharingManager {
14
15     private static FieldSharingManager theObject = null;
16
17
18
19     /***
20         * constructor
21         * EV 03.12.2000
22         *
23         */

24     private FieldSharingManager()
25     {
26         JahiaConsole.println( "FieldSharingManager", "***** Starting the FieldSharing Manager *****" );
27     } // end constructor
28

29
30
31     /***
32         * getInstance
33         * EV 03.12.2000
34         *
35         */

36     public static synchronized FieldSharingManager getInstance()
37     {
38         if (theObject == null) {
39             theObject = new FieldSharingManager();
40         }
41         return theObject;
42     } // end getInstance
43

44
45
46     /***
47         * getRemoteFieldValue
48         * EV 03.12.2000
49         * called by SelectDataSource_Engine.processForm
50         *
51         */

52     public String JavaDoc getRemoteFieldValue( String JavaDoc jahiaPath )
53     {
54         // FOR DEMO PURPOSES ONLY
55
// should :
56
// - connect to remote jahia server through specific port
57
// - parse data source in XML (soap ?)
58
// - conquer the world
59
String JavaDoc contents = "Not implemented yet.";
60         return contents;
61     } // end getRemoteFieldValue
62

63
64
65 } // end FieldSharingManager
66
Popular Tags