Skip to content

Commit

Permalink
GEODE-37 changed import to org.apache.geode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitesh Khamesra committed Sep 13, 2016
1 parent 9d7a696 commit 7171cec
Show file tree
Hide file tree
Showing 5,761 changed files with 55,441 additions and 55,441 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Write a client application:
_HelloWorld.java_

import java.util.Map;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.client.*;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.client.*;

public class HelloWorld {
public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<entry-idle-time>
<expiration-attributes timeout="0" action="invalidate">
<custom-expiry>
<class-name>com.gemstone.gemfire.modules.util.SessionCustomExpiry</class-name>
<class-name>org.apache.geode.modules.util.SessionCustomExpiry</class-name>
</custom-expiry>
</expiration-attributes>
</entry-idle-time>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<entry-idle-time>
<expiration-attributes timeout="0" action="invalidate">
<custom-expiry>
<class-name>com.gemstone.gemfire.modules.util.SessionCustomExpiry</class-name>
<class-name>org.apache.geode.modules.util.SessionCustomExpiry</class-name>
</custom-expiry>
</expiration-attributes>
</entry-idle-time>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>

<remove:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat6DeltaSessionManager"/>
<remove:Manager className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"/>

<add:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat7DeltaSessionManager"
<add:Manager className="org.apache.geode.modules.session.catalina.Tomcat7DeltaSessionManager"
enableDebugListener="${enable.debug.listener:false}"
enableGatewayReplication="${enable.gateway.replication:false}"
enableLocalCache="${enable.local.cache:true}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>

<remove:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat6DeltaSessionManager"/>
<remove:Manager className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"/>

<add:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat7DeltaSessionManager"
<add:Manager className="org.apache.geode.modules.session.catalina.Tomcat7DeltaSessionManager"
enableDebugListener="${enable.debug.listener:false}"
enableGatewayReplication="${enable.gateway.replication:false}"
enableLocalCache="${enable.local.cache:true}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>

<add:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat6DeltaSessionManager"
<add:Manager className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"
enableDebugListener="${enable.debug.listener:false}"
enableGatewayReplication="${enable.gateway.replication:false}"
enableLocalCache="${enable.local.cache:true}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<Server>

<add:Listener className="com.gemstone.gemfire.modules.session.catalina.ClientServerCacheLifecycleListener"
<add:Listener className="org.apache.geode.modules.session.catalina.ClientServerCacheLifecycleListener"
cache-xml-file="${cache.configuration.file:cache-client.xml}"
criticalHeapPercentage="${critical.heap.percentage:0.0}"
evictionHeapPercentage="${eviction.heap.percentage:80.0}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>

<remove:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat6DeltaSessionManager"/>
<remove:Manager className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"/>

<add:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat7DeltaSessionManager"
<add:Manager className="org.apache.geode.modules.session.catalina.Tomcat7DeltaSessionManager"
enableDebugListener="${enable.debug.listener:false}"
enableGatewayReplication="${enable.gateway.replication:false}"
enableLocalCache="${enable.local.cache:false}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>

<remove:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat6DeltaSessionManager"/>
<remove:Manager className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"/>

<add:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat7DeltaSessionManager"
<add:Manager className="org.apache.geode.modules.session.catalina.Tomcat7DeltaSessionManager"
enableDebugListener="${enable.debug.listener:false}"
enableGatewayReplication="${enable.gateway.replication:false}"
enableLocalCache="${enable.local.cache:false}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>

<add:Manager className="com.gemstone.gemfire.modules.session.catalina.Tomcat6DeltaSessionManager"
<add:Manager className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"
enableDebugListener="${enable.debug.listener:false}"
enableGatewayReplication="${enable.gateway.replication:false}"
enableLocalCache="${enable.local.cache:false}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<Server>

<add:Listener className="com.gemstone.gemfire.modules.session.catalina.PeerToPeerCacheLifecycleListener"
<add:Listener className="org.apache.geode.modules.session.catalina.PeerToPeerCacheLifecycleListener"
cache-xml-file="${cache.configuration.file:cache-peer.xml}"
criticalHeapPercentage="${critical.heap.percentage:0.0}"
evictionHeapPercentage="${eviction.heap.percentage:80.0}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate;
package org.apache.geode.modules.hibernate;

import java.io.Serializable;

Expand All @@ -30,7 +30,7 @@
* e.g. a typical enum configuration should look like this:
* <pre>
* &lt;property name="myEnum"&gt;
* &lt;type name="<b>com.gemstone.gemfire.modules.hibernate.EnumType</b>"&gt;
* &lt;type name="<b>org.apache.geode.modules.hibernate.EnumType</b>"&gt;
* &lt;param name="enumClass"&gt;com.mycompany.MyEntity$MyEnum&lt;/param&gt;
* &lt;param name="type"&gt;12&lt;/param&gt;
* &lt;/type&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate;
package org.apache.geode.modules.hibernate;

import java.util.Map;

import org.hibernate.cache.Cache;
import org.hibernate.cache.CacheException;
import org.hibernate.cache.Timestamper;

import com.gemstone.gemfire.cache.EntryNotFoundException;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.Scope;
import com.gemstone.gemfire.distributed.DistributedLockService;
import com.gemstone.gemfire.internal.cache.LocalRegion;
import org.apache.geode.cache.EntryNotFoundException;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.Scope;
import org.apache.geode.distributed.DistributedLockService;
import org.apache.geode.internal.cache.LocalRegion;

public class GemFireCache implements Cache {
private Region region;
Expand Down Expand Up @@ -77,7 +77,7 @@ public Object get(Object key) throws CacheException {
"GemFireCache: retrieved: " + key + "-->" + value);
return value;
}
catch (com.gemstone.gemfire.cache.CacheException e) {
catch (org.apache.geode.cache.CacheException e) {
throw new CacheException(e);
}
}
Expand Down Expand Up @@ -171,7 +171,7 @@ public void put(Object key, Object value) throws CacheException {
GemFireCacheProvider.getLogger().debug(
"GemFireCache: put " + key + "-->" + value);
}
catch (com.gemstone.gemfire.cache.CacheException e) {
catch (org.apache.geode.cache.CacheException e) {
throw new CacheException(e);
}
}
Expand All @@ -195,7 +195,7 @@ public void remove(Object key) throws CacheException {
catch (EntryNotFoundException e) {
// We can silently ignore this
}
catch (com.gemstone.gemfire.cache.CacheException e) {
catch (org.apache.geode.cache.CacheException e) {
throw new CacheException(e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate;
package org.apache.geode.modules.hibernate;

import java.util.Properties;

import com.gemstone.gemfire.cache.Declarable;
import com.gemstone.gemfire.cache.EntryEvent;
import com.gemstone.gemfire.cache.util.CacheListenerAdapter;
import org.apache.geode.cache.Declarable;
import org.apache.geode.cache.EntryEvent;
import org.apache.geode.cache.util.CacheListenerAdapter;

public class GemFireCacheListener extends CacheListenerAdapter implements
Declarable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate;

import com.gemstone.gemfire.cache.CacheFactory;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.RegionShortcut;
import com.gemstone.gemfire.cache.execute.FunctionService;
import com.gemstone.gemfire.distributed.DistributedLockService;
import com.gemstone.gemfire.distributed.internal.DistributionConfig;
import com.gemstone.gemfire.internal.logging.LogService;
import com.gemstone.gemfire.modules.util.CreateRegionFunction;
import com.gemstone.gemfire.modules.util.RegionConfiguration;
package org.apache.geode.modules.hibernate;

import org.apache.geode.cache.CacheFactory;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.RegionShortcut;
import org.apache.geode.cache.execute.FunctionService;
import org.apache.geode.distributed.DistributedLockService;
import org.apache.geode.distributed.internal.DistributionConfig;
import org.apache.geode.internal.logging.LogService;
import org.apache.geode.modules.util.CreateRegionFunction;
import org.apache.geode.modules.util.RegionConfiguration;
import org.apache.logging.log4j.Logger;
import org.hibernate.cache.Cache;
import org.hibernate.cache.CacheException;
Expand All @@ -39,7 +39,7 @@ public class GemFireCacheProvider implements CacheProvider {

private static final Logger logger = LogService.getLogger();

protected com.gemstone.gemfire.cache.Cache _cache;
protected org.apache.geode.cache.Cache _cache;

private DistributedLockService distributedLockService;

Expand Down Expand Up @@ -175,7 +175,7 @@ public void start(Properties properties) throws CacheException {
this.distributedLockService = existing;
}
}
catch (com.gemstone.gemfire.cache.CacheException e) {
catch (org.apache.geode.cache.CacheException e) {
throw new CacheException(e);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate;
package org.apache.geode.modules.hibernate;

import java.util.Properties;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate;

import com.gemstone.gemfire.cache.Cache;
import com.gemstone.gemfire.cache.GemFireCache;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.RegionShortcut;
import com.gemstone.gemfire.cache.client.ClientCache;
import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
import com.gemstone.gemfire.distributed.internal.DistributionConfig;
import com.gemstone.gemfire.distributed.internal.DistributionConfigImpl;
import com.gemstone.gemfire.modules.hibernate.internal.*;
import com.gemstone.gemfire.modules.util.Banner;
package org.apache.geode.modules.hibernate;

import org.apache.geode.cache.Cache;
import org.apache.geode.cache.GemFireCache;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.RegionShortcut;
import org.apache.geode.cache.client.ClientCache;
import org.apache.geode.cache.client.ClientRegionShortcut;
import org.apache.geode.distributed.internal.DistributionConfig;
import org.apache.geode.distributed.internal.DistributionConfigImpl;
import org.apache.geode.modules.hibernate.internal.*;
import org.apache.geode.modules.util.Banner;
import org.hibernate.cache.*;
import org.hibernate.cache.access.AccessType;
import org.hibernate.cfg.Settings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate.internal;
package org.apache.geode.modules.hibernate.internal;

import com.gemstone.gemfire.cache.CacheWriterException;
import com.gemstone.gemfire.cache.EntryExistsException;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.client.ServerOperationException;
import org.apache.geode.cache.CacheWriterException;
import org.apache.geode.cache.EntryExistsException;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.client.ServerOperationException;
import org.hibernate.cache.CacheException;
import org.hibernate.cache.EntityRegion;
import org.hibernate.cache.access.EntityRegionAccessStrategy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate.internal;

import com.gemstone.gemfire.cache.GemFireCache;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.RegionShortcut;
import com.gemstone.gemfire.cache.client.ClientCache;
import com.gemstone.gemfire.cache.client.ClientCacheFactory;
import com.gemstone.gemfire.cache.client.ClientRegionFactory;
import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
import com.gemstone.gemfire.cache.execute.FunctionService;
import com.gemstone.gemfire.distributed.internal.DistributionConfig;
import com.gemstone.gemfire.modules.util.BootstrappingFunction;
import com.gemstone.gemfire.modules.util.CreateRegionFunction;
import com.gemstone.gemfire.modules.util.RegionConfiguration;
package org.apache.geode.modules.hibernate.internal;

import org.apache.geode.cache.GemFireCache;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.RegionShortcut;
import org.apache.geode.cache.client.ClientCache;
import org.apache.geode.cache.client.ClientCacheFactory;
import org.apache.geode.cache.client.ClientRegionFactory;
import org.apache.geode.cache.client.ClientRegionShortcut;
import org.apache.geode.cache.execute.FunctionService;
import org.apache.geode.distributed.internal.DistributionConfig;
import org.apache.geode.modules.util.BootstrappingFunction;
import org.apache.geode.modules.util.CreateRegionFunction;
import org.apache.geode.modules.util.RegionConfiguration;

import java.util.*;

import static com.gemstone.gemfire.distributed.ConfigurationProperties.LOCATORS;
import static org.apache.geode.distributed.ConfigurationProperties.LOCATORS;

public class ClientServerRegionFactoryDelegate extends RegionFactoryDelegate {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate.internal;
package org.apache.geode.modules.hibernate.internal;

import java.io.Serializable;
import java.lang.reflect.Field;
Expand All @@ -29,11 +29,11 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.gemstone.gemfire.cache.CacheWriterException;
import com.gemstone.gemfire.cache.EntryExistsException;
import com.gemstone.gemfire.cache.EntryNotFoundException;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.client.ServerOperationException;
import org.apache.geode.cache.CacheWriterException;
import org.apache.geode.cache.EntryExistsException;
import org.apache.geode.cache.EntryNotFoundException;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.client.ServerOperationException;

public class CollectionAccess implements
CollectionRegionAccessStrategy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gemstone.gemfire.modules.hibernate.internal;
package org.apache.geode.modules.hibernate.internal;


import java.util.Properties;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.gemstone.gemfire.cache.CacheWriterException;
import com.gemstone.gemfire.cache.Declarable;
import com.gemstone.gemfire.cache.EntryEvent;
import com.gemstone.gemfire.cache.util.CacheWriterAdapter;
import org.apache.geode.cache.CacheWriterException;
import org.apache.geode.cache.Declarable;
import org.apache.geode.cache.EntryEvent;
import org.apache.geode.cache.util.CacheWriterAdapter;

public class EntityRegionWriter extends CacheWriterAdapter implements Declarable {

Expand Down
Loading

0 comments on commit 7171cec

Please sign in to comment.