1 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 ; 37 38 public interface InternalFactory { 39 40 void setSelfInstance(); 41 42 void init(); 43 44 JalistoProperties getProperties(String path); 45 46 Object 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 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 [] arrayOfObjects); 76 77 Map getCache(JalistoProperties properties, int size, String name); 78 79 Object getSessionById(Object sessionId); 80 81 void launchMBeanHtmlServer(JalistoProperties props); 82 83 void cleanFactory(); 84 85 ClientCommunicationAgent getClientCommunicationAgent(JalistoProperties properties); 86 87 JalistoServer getJalistoServer(String communicationFactoryClassName); 88 89 } 90 | Popular Tags |