Skip navigation links

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

E10663-02


oracle.rules.sdk2.repository
Class RepositoryContext

java.lang.Object
  extended by oracle.rules.sdk2.repository.RepositoryContext


public class RepositoryContext
extends java.lang.Object

RepositoryContext holds repository security and configuration information


Constructor Summary
RepositoryContext()
           

 

Method Summary
 DictionaryFinder getDictionaryFinder()
          Get the parent DictionaryFinder
 java.util.Locale getLocale()
          Get the Locale
 java.security.Principal getPrincipal()
          Get the principal
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
          Get all properties
 java.lang.Object getPropertyValue(java.lang.String name)
          Get value of a property
 void setDictionaryFinder(DictionaryFinder finder)
          Set the parent DictionaryFinder
 void setLocale(java.util.Locale locale)
          Set the Locale
 void setPrincipal(java.security.Principal principal)
          Set a principal
 void setProperty(java.lang.String name, java.lang.Object value)
          Set a property

 

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

 

Constructor Detail

RepositoryContext

public RepositoryContext()

Method Detail

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.String name)
Get value of a property
Parameters:
name - property name
Returns:
property value

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Set a property
Parameters:
name - property name
value - property value

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Get all properties
Returns:
all properties

getPrincipal

public java.security.Principal getPrincipal()
Get the principal
Returns:
the principal. Null if principal is not set.

setPrincipal

public void setPrincipal(java.security.Principal principal)
Set a principal
Parameters:
principal - the principal to be set

getLocale

public java.util.Locale getLocale()
Get the Locale
Returns:
the Locale. Default locale if locale is not set.

setLocale

public void setLocale(java.util.Locale locale)
Set the Locale
Parameters:
locale - the Locale to be set

getDictionaryFinder

public DictionaryFinder getDictionaryFinder()
Get the parent DictionaryFinder
Returns:
the DictionaryFinder

setDictionaryFinder

public void setDictionaryFinder(DictionaryFinder finder)
Set the parent DictionaryFinder
Parameters:
finder - the parent DictionaryFinder

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.