Package | Description |
---|---|
com.caucho.amber.cfg | |
com.caucho.amber.gen | |
com.caucho.amber.manager | |
com.caucho.amber.type |
Modifier and Type | Method and Description |
---|---|
void |
BaseConfigIntrospector.introspectListener(java.lang.Class type,
ListenerType listenerType) |
Modifier and Type | Method and Description |
---|---|
void |
ListenerComponent.setListenerType(ListenerType listenerType)
Sets the bean info for the generator
|
void |
ListenerGenerator.setListenerType(ListenerType listenerType)
Sets the bean info for the generator
|
Modifier and Type | Method and Description |
---|---|
ListenerType |
AmberPersistenceUnit.addDefaultListener(java.lang.Class beanClass)
Adds a default listener.
|
ListenerType |
AmberPersistenceUnit.addEntityListener(java.lang.String entityName,
java.lang.Class listenerClass)
Adds an entity listener.
|
ListenerType |
AmberPersistenceUnit.getDefaultListener(java.lang.String className)
Gets a default listener.
|
ListenerType |
AmberContainer.getDefaultListener(java.lang.String className)
Returns the default ListenerType for an introspected class.
|
ListenerType |
AmberPersistenceUnit.getEntityListener(java.lang.String className)
Gets an entity listener.
|
ListenerType |
AmberContainer.getEntityListener(java.lang.String className)
Returns the entity ListenerType for an introspected class.
|
ListenerType |
AmberContainer.getListener(java.lang.String className)
Returns the listener for an introspected class.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<ListenerType> |
AmberContainer.getEntityListeners(java.lang.String entityClassName)
Returns the entity listeners for an entity.
|
Modifier and Type | Method and Description |
---|---|
void |
AmberContainer.addDefaultListener(java.lang.String className,
ListenerType type)
Adds a default listener.
|
void |
AmberContainer.addEntityListener(java.lang.String entityClassName,
ListenerType listenerType)
Adds an entity listener.
|
Modifier and Type | Class and Description |
---|---|
class |
SubListenerType
Represents a listener type with a parent listener:
either a default listener declared in orm.xml meta-data or
an entity listener specified in @EntityListeners entity
annotation.
|
Modifier and Type | Method and Description |
---|---|
ListenerType |
ListenerType.getParentType()
Returns the parent type.
|
ListenerType |
SubListenerType.getParentType()
Returns the parent type.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<ListenerType> |
EntityType.getListeners()
Gets the entity listeners.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityType.addListener(ListenerType listener)
Adds an entity listener.
|
Constructor and Description |
---|
SubListenerType(AmberPersistenceUnit amberPersistenceUnit,
ListenerType parent) |