Skip navigation links
oracle.wcps.activity.provider
Class ActivityGraphConnection
java.lang.Object
oracle.wcps.activity.provider.ActivityGraphConnection
-
public class ActivityGraphConnection
- extends java.lang.Object
This class is a wrapper for the ActivityGraph IQuerier interface. There is one AG server per connection. It holds onto a collection of IExecutableResource, which is a wrapper for an individual method for Activity Graph. There are two different means to access the Activity Graph APIs: REST and POJO. The ConnectionConfiguration has an attribute, 'useREST', that defaults to 'true' if not specified. IExecutableResources are created according to this setting.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActivityGraphConnection
public ActivityGraphConnection(AGConnectionConfig config)
setScenarioContext
public void setScenarioContext(IScenarioContext scenarioContext)
- We have to manually propagate the scenario context to our executable resources (if they are REST)
-
- Parameters:
scenarioContext
-
getNamedResources
public java.util.Map<java.lang.String,IExecutableResource> getNamedResources()
getDefaultResource
public IExecutableResource getDefaultResource()
getConnectionMetadata
public java.util.Map<java.lang.String,IMetadata> getConnectionMetadata()
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
Skip navigation links
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.