Package com.sun.enterprise.ee.synchronization.api

Examples of com.sun.enterprise.ee.synchronization.api.SynchronizationContext


         if (AdminService.getAdminService().isDas()) {
             return;
         }

         // creates a synchronization context
         SynchronizationContext synchCtx =
             SynchronizationFactory.createSynchronizationContext(configContext);

         // security service synchronization manager
         SecurityServiceMgr securitySynchMgr = synchCtx.getSecurityServiceMgr();

         // synchronizes a key file
         securitySynchMgr.synchronizeKeyFile(fileRealmName);
    }
View Full Code Here


                //NO OP, i.e. the bits are not synched.
                return;
            }

            // creates a synchronization context
            SynchronizationContext synchCtx =
                SynchronizationFactory.createSynchronizationContext(
                    event.getConfigContext());
          
            // applications synchronization manager
            ApplicationsMgr appSynchMgr = synchCtx.getApplicationsMgr();
             
            // synchronizes an application
            appSynchMgr.synchronize(event.getJ2EEComponentName());
        } catch (SynchronizationException ex) {
            throw new AdminEventListenerException(ex);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.synchronization.api.SynchronizationContext

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.