KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jalisto > se > api > internal > InternalFactory


1 /*
2  * Jalisto - JAva LIght STOrage
3  * Copyright (C) 2000-2005 Xcalia http://www.xcalia.com
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18  *
19  * Xcalia
20  * 71, rue Desnouettes
21  * 75014 Paris - France
22  * http://www.xcalia.com
23  */

24 package org.objectweb.jalisto.se.api.internal;
25
26 import org.objectweb.jalisto.se.api.JalistoProperties;
27 import org.objectweb.jalisto.se.api.Session;
28 import org.objectweb.jalisto.se.api.remote.ClientCommunicationAgent;
29 import org.objectweb.jalisto.se.api.remote.JalistoServer;
30 import org.objectweb.jalisto.se.api.internal.multi.LockTable;
31 import org.objectweb.jalisto.se.api.physical.PluggablePhysicalFileAccess;
32 import org.objectweb.jalisto.se.impl.server.IdentityProvider;
33 import org.objectweb.jalisto.se.impl.lock.AccessController;
34 import org.objectweb.jalisto.se.impl.trace.Trace;
35
36 import java.util.Map JavaDoc;
37
38 public interface InternalFactory {
39
40     void setSelfInstance();
41
42     void init();
43
44     JalistoProperties getProperties(String JavaDoc path);
45
46     Object JavaDoc getSessionId(JalistoProperties properties, Session session);
47
48     InternalMetaRepository getMetaRepository(JalistoProperties properties);
49
50     InternalMetaRepository getMetaRepository(JalistoProperties properties, ClientCommunicationAgent connexion);
51
52     IdentityProvider getIdentityProvider(JalistoProperties properties);
53
54     PluggablePhysicalFileAccess getPhysicalAccess(JalistoProperties properties);
55
56     Trace getTracer(JalistoProperties properties);
57
58     AccessController getAccessController(JalistoProperties properties);
59
60     Session getSession(String JavaDoc propertiesFilePath);
61
62     Session getSession(JalistoProperties properties);
63
64     OidTable getOidTable(JalistoProperties properties);
65
66     InTransactionBaseImage getAInTransactionBaseImage(
67             PluggablePhysicalFileAccess physicalAccess, JalistoProperties properties);
68
69     LogicalSystemPageAccess getLogicalAccess(JalistoProperties properties);
70
71     InternalPhysicalFileAccess getInternalPhysicalAccess(JalistoProperties properties);
72
73     LockTable getLockTable(JalistoProperties properties);
74
75     DataWrapper getNewDataWrapper(JalistoProperties properties, Object JavaDoc[] arrayOfObjects);
76
77     Map JavaDoc getCache(JalistoProperties properties, int size, String JavaDoc name);
78
79     Object JavaDoc getSessionById(Object JavaDoc sessionId);
80
81     void launchMBeanHtmlServer(JalistoProperties props);
82
83     void cleanFactory();
84
85     ClientCommunicationAgent getClientCommunicationAgent(JalistoProperties properties);
86
87     JalistoServer getJalistoServer(String JavaDoc communicationFactoryClassName);
88
89 }
90
Popular Tags