Created skeleton org.jclouds.demo.paas structure

This commit is contained in:
Andrew Phillips 2012-01-16 22:59:39 -05:00
parent aaaced142f
commit dc49957304
4 changed files with 43 additions and 5 deletions

View File

@ -0,0 +1,38 @@
/**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.jclouds.demo.paas;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
/**
* @author Andrew Phillips
*/
public class PlatformServices implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent arg0) {
throw new UnsupportedOperationException("TODO Auto-generated method stub");
}
@Override
public void contextDestroyed(ServletContextEvent arg0) {
throw new UnsupportedOperationException("TODO Auto-generated method stub");
}
}

View File

@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.jclouds.demo.tweetstore.taskqueue;
package org.jclouds.demo.paas.service.taskqueue;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.inject.name.Names.bindProperties;

View File

@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.jclouds.demo.tweetstore.taskqueue;
package org.jclouds.demo.paas.service.taskqueue;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;

View File

@ -43,12 +43,12 @@ import javax.servlet.ServletContextEvent;
import org.jclouds.blobstore.BlobStoreContext;
import org.jclouds.blobstore.BlobStoreContextFactory;
import org.jclouds.demo.paas.service.taskqueue.HttpRequestTask;
import org.jclouds.demo.paas.service.taskqueue.TaskQueue;
import org.jclouds.demo.paas.service.taskqueue.HttpRequestTask.Factory;
import org.jclouds.demo.tweetstore.config.util.CredentialsCollector;
import org.jclouds.demo.tweetstore.controller.AddTweetsController;
import org.jclouds.demo.tweetstore.controller.StoreTweetsController;
import org.jclouds.demo.tweetstore.taskqueue.HttpRequestTask;
import org.jclouds.demo.tweetstore.taskqueue.TaskQueue;
import org.jclouds.demo.tweetstore.taskqueue.HttpRequestTask.Factory;
import org.jclouds.http.HttpRequest;
import twitter4j.Twitter;