Class ServerSynchronizer
- java.lang.Object
-
- com.sun.enterprise.v3.admin.cluster.ServerSynchronizer
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct
@Service @PerLookup public final class ServerSynchronizer extends Object implements org.glassfish.hk2.api.PostConstruct
The core server synchronization logic. Given a request from the client, it fills the payload with the files the client needs. The list of files in the config directory to synchronize is in META-INF/config-files in this module, or in config/config-files in the domain directory.- Author:
- Bill Shannon
-
-
Constructor Summary
Constructors Constructor Description ServerSynchronizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postConstruct()
void
synchronize(Server server, SyncRequest syncRequest, Payload.Outbound payload, ActionReport report, Logger logger)
Handle a single synchronization request for the given server by adding the needed files to the payload.
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
synchronize
public void synchronize(Server server, SyncRequest syncRequest, Payload.Outbound payload, ActionReport report, Logger logger)
Handle a single synchronization request for the given server by adding the needed files to the payload.
-
-