Skip to Content.
Sympa Menu

grouper-users - Hooks: Determining context type

Subject: Grouper Users - Open Discussion List

List archive

Hooks: Determining context type


Chronological Thread 
  • From: "Dr. Loris Bennett" <>
  • To: Grouper Users Mailing List <>
  • Subject: Hooks: Determining context type
  • Date: Mon, 09 Mar 2009 15:42:28 +0100
  • Organization: Freie Universität Berlin

Hi,

I want to determine the context type within a hook so that I can run the
logic in the hook only if the UI is being used. However,

hooksContext.getGrouperContextType().name()

returns

UNKNOWN

when the UI is used. How do I determine whether the hook has been
triggered by the UI?

Cheers

Loris

--
Dr. Loris Bennett (Mr.)
Freie Universität Berlin
ZEDAT - Zentraleinrichtung für Datenverarbeitung / Computer Center
Compute & Media Service
Fabeckstr. 32, Room 221
D-14195 Berlin
Tel ++49 30 838 51024
Fax ++49 30 838 56721
Email

Web www.zedat.fu-berlin.de




Archive powered by MHonArc 2.6.16.

Top of Page