Package emissary.place.sample
Class RefreshablePlace
- java.lang.Object
-
- emissary.directory.DirectoryProviderPlace
-
- emissary.place.ServiceProviderPlace
-
- emissary.place.ServiceProviderRefreshablePlace
-
- emissary.place.sample.RefreshablePlace
-
- All Implemented Interfaces:
IServiceProviderPlace,ServiceProviderPlaceMBean
public class RefreshablePlace extends ServiceProviderRefreshablePlace
This place performs no action other than logging its current config values
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_CONFIGprotected static org.slf4j.Loggerlogger-
Fields inherited from class emissary.place.ServiceProviderPlace
configG, configLocs, heavyDutyMethodImplemented, kff, placeLocation, processMethodImplemented, slogger
-
Fields inherited from class emissary.directory.DirectoryProviderPlace
denyList, dirPlace, keys, localDirPlace, myKey, placeName, serviceCost, serviceDescription, serviceQuality
-
Fields inherited from interface emissary.place.IServiceProviderPlace
DOT, SPROUT_KEY
-
-
Constructor Summary
Constructors Constructor Description RefreshablePlace(ServiceProviderRefreshablePlace place, boolean force)RefreshablePlace(String configInfo)Create for testRefreshablePlace(String configInfo, String dir, String placeLoc)Create and register
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigurePlace()voidprocess(IBaseDataObject tData)Consume the data object-
Methods inherited from class emissary.place.ServiceProviderRefreshablePlace
invalidate, invalidate, isInvalidated, refresh, refresh, refresh, setupPlace
-
Methods inherited from class emissary.place.ServiceProviderPlace
agentProcessCall, agentProcessHeavyDuty, agentProcessHeavyDuty, changesPrimaryView, createsExtractedRecords, dumpPlaceStats, dumpRunningConfig, getAgent, getAlternateViewsModified, getConfigurator, getFileTypes, getOutputForms, getParametersModified, getPlaceStats, getResourceLimitMillis, getRunningConfig, getTld, initKff, processHeavyDuty, rehash, setConfigLocations, setPlaceLocation, setupPlace, sproutsChildren, verifyProcessImplementationProvided
-
Methods inherited from class emissary.directory.DirectoryProviderPlace
addKey, addServiceProxy, configureServicePlace, deregisterFromDirectory, getDirectoryEntry, getKey, getKeys, getPlaceName, getPrimaryProxy, getProxies, isDenied, nextKeys, nukeMyProxies, register, register, registerWithDirectory, removeKey, removeServiceProxy, setLogger, setupPlacePostHook, shutDown, toString, unbindFromNamespace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface emissary.place.IServiceProviderPlace
addKey, addServiceProxy, getDirectoryEntry, getKey, getKeys, getPlaceName, getPrimaryProxy, getProxies, isDenied, loadConfigurator, loadConfigurator, loadConfigurator, loadConfigurator, nextKeys, removeKey, removeServiceProxy, shutDown
-
-
-
-
Field Detail
-
logger
protected static final org.slf4j.Logger logger
-
DEFAULT_CONFIG
public static final long DEFAULT_CONFIG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RefreshablePlace
public RefreshablePlace(String configInfo, String dir, String placeLoc) throws IOException
Create and register- Throws:
IOException
-
RefreshablePlace
public RefreshablePlace(String configInfo) throws IOException
Create for test- Throws:
IOException
-
RefreshablePlace
public RefreshablePlace(ServiceProviderRefreshablePlace place, boolean force) throws IOException
- Throws:
IOException
-
-
Method Detail
-
configurePlace
protected void configurePlace()
-
process
public void process(IBaseDataObject tData)
Consume the data object- Specified by:
processin interfaceIServiceProviderPlace- Overrides:
processin classServiceProviderPlace- Parameters:
tData- the payload to be processed
-
-