Package emissary.place.sample
Class RefreshablePlace
- java.lang.Object
-
- 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, denyList, dirPlace, heavyDutyMethodImplemented, keys, kff, localDirPlace, myKey, placeLocation, placeName, processMethodImplemented, serviceCost, serviceDescription, serviceQuality, slogger
-
Fields inherited from interface emissary.place.IServiceProviderPlace
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, isInvalidated, refresh, refresh, refresh
-
Methods inherited from class emissary.place.ServiceProviderPlace
addKey, addServiceProxy, agentProcessCall, agentProcessHeavyDuty, agentProcessHeavyDuty, changesPrimaryView, configureServicePlace, createsExtractedRecords, deregisterFromDirectory, dumpPlaceStats, dumpRunningConfig, getAgent, getAlternateViewsModified, getDirectoryEntry, getFileTypes, getKey, getKeys, getOutputForms, getParametersModified, getPlaceName, getPlaceStats, getPrimaryProxy, getProxies, getResourceLimitMillis, getRunningConfig, getTld, initKff, isDenied, loadConfigurator, loadConfigurator, loadConfigurator, nextKeys, nukeMyProxies, processHeavyDuty, register, register, registerWithDirectory, rehash, removeKey, removeServiceProxy, setLogger, setupPlace, setupPlace, shutDown, sproutsChildren, toString, unbindFromNamespace, verifyProcessImplementationProvided
-
-
-
-
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
-
-