Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.wcps.activity.provider
Class ActivityGraphConnection

java.lang.Object
  extended by 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.


Constructor Summary
ActivityGraphConnection(AGConnectionConfig config)
           

 

Method Summary
 java.util.Map<java.lang.String,IMetadata> getConnectionMetadata()
           
 IExecutableResource getDefaultResource()
           
 java.util.Map<java.lang.String,IExecutableResource> getNamedResources()
           
 void setScenarioContext(IScenarioContext scenarioContext)
          We have to manually propagate the scenario context to our executable resources (if they are REST)
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ActivityGraphConnection

public ActivityGraphConnection(AGConnectionConfig config)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.