Moving from *.endpoint to *.context

This commit is contained in:
Josh Long
2010-08-17 17:47:49 +00:00
parent 10704c94c5
commit 700b89e99a
5 changed files with 8 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ import org.springframework.beans.factory.BeanFactory;
import org.springframework.core.convert.ConversionService;
import org.springframework.integration.core.MessageChannel;
import org.springframework.integration.endpoint.metadata.MetadataPersister;
import org.springframework.integration.context.metadata.MetadataPersister;
import org.springframework.integration.scheduling.PollerMetadata;
import org.springframework.scheduling.TaskScheduler;

View File

@@ -1,11 +1,11 @@
package org.springframework.integration.endpoint.metadata;
package org.springframework.integration.context.metadata;
import org.springframework.util.Assert;
import java.util.concurrent.ConcurrentHashMap;
/**
* Simple in-memory implementation of teh {@link org.springframework.integration.endpoint.metadata.MetadataPersister}
* Simple in-memory implementation of teh {@link org.springframework.integration.context.metadata.MetadataPersister}
* interface suitable for the use cases where it's assured that component only needs ephemeral metadata.
*
*

View File

@@ -1,6 +1,4 @@
package org.springframework.integration.endpoint.metadata;
import java.util.Properties;
package org.springframework.integration.context.metadata;
/**

View File

@@ -1,4 +1,4 @@
package org.springframework.integration.endpoint.metadata;
package org.springframework.integration.context.metadata;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.config.PropertiesFactoryBean;
@@ -13,7 +13,7 @@ import java.util.concurrent.Executor;
/**
* Implementation of {@link org.springframework.integration.endpoint.metadata.MetadataPersister} that knows how to write metadata
* Implementation of {@link org.springframework.integration.context.metadata.MetadataPersister} that knows how to write metadata
* to a {@link java.util.Properties} instance.
*
*
@@ -178,7 +178,7 @@ public class PropertiesBasedMetadataPersister implements MetadataPersister<Strin
this.cachedLocationOfPropertiesFile = this.locationOfPropertiesOnDisk.getFile();
propertiesFactoryBean.setLocations(this.bootstrapResources.toArray(new Resource[bootstrapResources.size()]));
// we take the existing Resources [] and use them to bootstrap a Property file when this component wakes up again
// we take the existing Resources [] and use them to bootstrap a Properties instance when this component wakes up again
propertiesFactoryBean.afterPropertiesSet();
properties = propertiesFactoryBean.getObject();
}

View File

@@ -1,4 +1,4 @@
package org.springframework.integration.endpoint.metadata;
package org.springframework.integration.context.metadata;
import org.junit.After;
import org.junit.Assert;