public final class QueueService extends Object
QueueContract.| Modifier and Type | Method and Description |
|---|---|
static QueueContract |
create()
A static factory method that returns an instance implementing
QueueContract using default values for initializing a
Configuration instance. |
static QueueContract |
create(Configuration config)
A static factory method that returns an instance implementing
QueueContract using the specified Configuration instance. |
static QueueContract |
create(String profile)
A static factory method that returns an instance implementing
QueueContract using default values for initializing a
Configuration instance, and using the specified profile prefix
for service settings. |
static QueueContract |
create(String profile,
Configuration config)
A static factory method that returns an instance implementing
QueueContract using the specified Configuration instance
and profile prefix for service settings. |
public static QueueContract create()
QueueContract using default values for initializing a
Configuration instance. Note that the returned interface will not
work unless storage account credentials have been added to the
"META-INF/com.microsoft.windowsazure.properties" resource file.QueueContract for interacting
with the queue service.public static QueueContract create(Configuration config)
QueueContract using the specified Configuration instance.
The Configuration instance must have storage account information
and credentials set before this method is called for the returned
interface to work.config - A Configuration instance configured with storage
account information and credentials.QueueContract for interacting
with the queue service.public static QueueContract create(String profile)
QueueContract using default values for initializing a
Configuration instance, and using the specified profile prefix
for service settings. Note that the returned interface will not work
unless storage account settings and credentials have been added to the
"META-INF/com.microsoft.windowsazure.properties" resource file with the
specified profile prefix.profile - A string prefix for the account name and credentials settings
in the Configuration instance.QueueContract for interacting
with the queue service.public static QueueContract create(String profile, Configuration config)
QueueContract using the specified Configuration instance
and profile prefix for service settings. The Configuration
instance must have storage account information and credentials set with
the specified profile prefix before this method is called for the
returned interface to work.profile - A string prefix for the account name and credentials settings
in the Configuration instance.config - A Configuration instance configured with storage
account information and credentials.QueueContract for interacting
with the queue service./**
* Copyright Microsoft Corporation
*
* Licensed 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.
*/