org.duracloud.appconfig.domain
Class Application
java.lang.Object
org.duracloud.appconfig.domain.Application
public class Application
- extends java.lang.Object
This class provides an abstraction of an application that is reachable
at a host:port/context endpoint and can be initialized and can have its
security-users updated.
- Author:
- Andrew Woods
Date: Apr 22, 2010
Constructor Summary |
Application(java.lang.String host,
java.lang.String port,
java.lang.String context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Application
public Application(java.lang.String host,
java.lang.String port,
java.lang.String context)
initialize
public RestHttpHelper.HttpResponse initialize(AppConfig config)
- This method initializes this application with the provided configuration.
- Parameters:
config
-
- Returns:
setSecurityUsers
public RestHttpHelper.HttpResponse setSecurityUsers(java.util.Collection<SecurityUserBean> users)
- This method sets the security users of this application to the provided
users.
- Parameters:
users
-
- Returns:
getHost
public java.lang.String getHost()
getPort
public java.lang.String getPort()
getContext
public java.lang.String getContext()
Copyright © 2009-2010 DuraSpace. All Rights Reserved.