Package org.apache.vysper.storage

Examples of org.apache.vysper.storage.StorageProvider


            for (ServerRuntimeContextService serverRuntimeContextService : serviceList) {
                registerServerRuntimeContextService(serverRuntimeContextService);
               
                // if a storage service, also register there
                if (serverRuntimeContextService instanceof StorageProvider) {
                    StorageProvider storageProvider = (StorageProvider) serverRuntimeContextService;
                    storageProviderRegistry.add(storageProvider);
                }
            }
        }
View Full Code Here


        dictionary.add(new RosterDictionary());
    }

    @Override
    public void initialize(ServerRuntimeContext serverRuntimeContext) {
        StorageProvider storageProvider = serverRuntimeContext.getStorageProvider(RosterManager.class);
        if (storageProvider == null) {
            logger.error("no roster storage provider found");
        }
    }
View Full Code Here

        dictionary.add(new RosterDictionary());
    }

    @Override
    public void initialize(ServerRuntimeContext serverRuntimeContext) {
        StorageProvider storageProvider = serverRuntimeContext.getStorageProvider(RosterManager.class);
        if (storageProvider == null) {
            logger.error("no roster storage provider found");
        }
    }
View Full Code Here

            for (ServerRuntimeContextService serverRuntimeContextService : serviceList) {
                registerServerRuntimeContextService(serverRuntimeContextService);

                // if a storage service, also register there
                if (serverRuntimeContextService instanceof StorageProvider) {
                    StorageProvider storageProvider = (StorageProvider) serverRuntimeContextService;
                    storageProviderRegistry.add(storageProvider);
                }
            }
        }
View Full Code Here

            for (ServerRuntimeContextService serverRuntimeContextService : serviceList) {
                registerServerRuntimeContextService(serverRuntimeContextService);

                // if a storage service, also register there
                if (serverRuntimeContextService instanceof StorageProvider) {
                    StorageProvider storageProvider = (StorageProvider) serverRuntimeContextService;
                    storageProviderRegistry.add(storageProvider);
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.vysper.storage.StorageProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.