api_refactor: make interfaces public as some of the stuff move to cloud-api
Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/52c35bc3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/52c35bc3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/52c35bc3 Branch: refs/heads/api_refactoring Commit: 52c35bc30d83d5070e13ec6175931f6f15426576 Parents: 5536447 Author: Rohit Yadav <[email protected]> Authored: Wed Dec 5 14:27:13 2012 -0800 Committer: Rohit Yadav <[email protected]> Committed: Wed Dec 5 14:27:13 2012 -0800 ---------------------------------------------------------------------- api/src/org/apache/cloudstack/api/BaseCmd.java | 2 +- api/src/org/apache/cloudstack/api/BaseListCmd.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/52c35bc3/api/src/org/apache/cloudstack/api/BaseCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/BaseCmd.java b/api/src/org/apache/cloudstack/api/BaseCmd.java index e7701fb..24e36dd 100755 --- a/api/src/org/apache/cloudstack/api/BaseCmd.java +++ b/api/src/org/apache/cloudstack/api/BaseCmd.java @@ -141,7 +141,7 @@ public abstract class BaseCmd { public static NetworkACLService _networkACLService; public static Site2SiteVpnService _s2sVpnService; - static void setComponents(ResponseGenerator generator) { + public static void setComponents(ResponseGenerator generator) { ComponentLocator locator = ComponentLocator.getLocator(ManagementService.Name); _mgr = (ManagementService) ComponentLocator.getComponent(ManagementService.Name); _accountService = locator.getManager(AccountService.class); http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/52c35bc3/api/src/org/apache/cloudstack/api/BaseListCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/BaseListCmd.java b/api/src/org/apache/cloudstack/api/BaseListCmd.java index 19cf718..58e83f7 100755 --- a/api/src/org/apache/cloudstack/api/BaseListCmd.java +++ b/api/src/org/apache/cloudstack/api/BaseListCmd.java @@ -62,7 +62,7 @@ public abstract class BaseListCmd extends BaseCmd { return pageSize; } - static void configure() { + public static void configure() { if (_configService.getDefaultPageSize().longValue() != PAGESIZE_UNLIMITED) { MAX_PAGESIZE = _configService.getDefaultPageSize(); }
