Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-02


oracle.rules.jsr94.admin
Class Sdk2FileRepositorySource

java.lang.Object
  extended by oracle.rules.jsr94.admin.Sdk2FileRepositorySource

All Implemented Interfaces:
java.io.Serializable, RuleSource

public class Sdk2FileRepositorySource
extends java.lang.Object
implements RuleSource

A RuleSource that specifies rule sets defined in an Oracle Business Rules SDK2 Jar file based repository.

See Also:
Serialized Form

Constructor Summary
Sdk2FileRepositorySource(java.lang.String location, DictionaryFQN fqn, java.lang.String[] rulesets)
          Create a SDK2FileRepositorySource.
Sdk2FileRepositorySource(java.lang.String location, java.lang.String pkg, java.lang.String name, java.lang.String[] rulesets)
          Create a SDK2FileRepositorySource.

 

Method Summary
 DictionaryFQN getDictionaryFQN()
          Get the fully qualified name of the dictionary in the repository.
 java.lang.String getLocation()
          Get the location of the repository.
 java.lang.Object getRules()
          Get an object that provides access to the rule sets.
 java.lang.String[] getRulesets()
          Get the names of the rule sets to load from the dictionary.

 

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

 

Constructor Detail

Sdk2FileRepositorySource

public Sdk2FileRepositorySource(java.lang.String location,
                                java.lang.String pkg,
                                java.lang.String name,
                                java.lang.String[] rulesets)
Create a SDK2FileRepositorySource.
Parameters:
location - The path to the jar file that contains the repository.
pkg - The dictionary package.
name - The name of the dictionary containing the rule sets.
rulesets - The names of the rule sets to load from the dictionary.

Sdk2FileRepositorySource

public Sdk2FileRepositorySource(java.lang.String location,
                                DictionaryFQN fqn,
                                java.lang.String[] rulesets)
Create a SDK2FileRepositorySource.
Parameters:
location - The path to the jar file that contains the repository.
fqn - The fully qualified name of the dictionary.
rulesets - The names of the rule sets to load from the dictionary.

Method Detail

getLocation

public java.lang.String getLocation()
Get the location of the repository.
Returns:
The location of the repository.

getDictionaryFQN

public DictionaryFQN getDictionaryFQN()
Get the fully qualified name of the dictionary in the repository.
Returns:
The fully qualified name of the dictionary in the repository.

getRulesets

public java.lang.String[] getRulesets()
Get the names of the rule sets to load from the dictionary.
Returns:
The names of the rule sets to load from the dictionary.

getRules

public java.lang.Object getRules()
                          throws javax.rules.admin.RuleAdministrationException
Get an object that provides access to the rule sets. This is intended for internal use by the implementation.
Specified by:
getRules in interface RuleSource
Returns:
An object that provides access to the rule sets.
Throws:
javax.rules.admin.RuleAdministrationException - if there is an error gaining access

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-02


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