public class AMEvent extends EventObject
Represents an event fired by Sun Java System Access Manager SDK.
AMEvent
's state consists of the following:
Modifier and Type | Field and Description |
---|---|
static int |
OBJECT_ADDED
Deprecated.
Represents an object addition event type.
|
static int |
OBJECT_CHANGED
Deprecated.
Represents an object change event type.
|
static int |
OBJECT_EXPIRED
Deprecated.
Represents an object expiration event type.
|
static int |
OBJECT_REMOVED
Deprecated.
Represents an object removal event type.
|
static int |
OBJECT_RENAMED
Deprecated.
Represents an object renaming event type.
|
source
Modifier | Constructor and Description |
---|---|
|
AMEvent(Object source,
int eventType)
Deprecated.
Constructs an event object.
|
protected |
AMEvent(Object source,
int eventType,
String sourceDN,
int sourceType)
Deprecated.
|
protected |
AMEvent(String dn)
Deprecated.
Protected constructor for package use only
|
Modifier and Type | Method and Description |
---|---|
int |
getEventType()
Deprecated.
Returns the type of the event.
|
String |
getSourceDN()
Deprecated.
Returns the distinguished name of the source object in a String format.
|
int |
getSourceType()
Deprecated.
Returns the type of the source object that caused the event.
|
getSource, toString
public static final int OBJECT_ADDED
public static final int OBJECT_CHANGED
public static final int OBJECT_REMOVED
public static final int OBJECT_EXPIRED
public static final int OBJECT_RENAMED
public AMEvent(Object source, int eventType)
source
- The source object that caused the event. The source object
could be User, Role, Group, Organization, etc., from this
SDK. The source could also be a String
representing the DN (distinguished name) of the source
object.eventType
- type of event.protected AMEvent(Object source, int eventType, String sourceDN, int sourceType)
protected AMEvent(String dn)
public String getSourceDN()
public int getEventType()
AMEvent.OBJECT_ADDED
AMEvent.OBJECT_CHANGED
AMEvent.OBJECT_REMOVED
AMEvent.OBJECT_RENAMED
AMEvent.OBJECT_EXPIRED
public int getSourceType()
AMObject.USER
AMObject.ROLE
AMObject.FILTERED_ROLE
AMObject.GROUP
AMObject.DYNAMIC_GROUP
AMObject.ASSIGNABLE_DYNAMIC_GROUP
AMObject.ORGANIZATION
AMObject.PEOPLE_CONTAINER
AMObject.GROUP_CONTAINER
AMObject.ORGINATIONAL_UNIT
AMObject.UNKNOWN_OBJECT_TYPE
if source unknown
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.