MetadataAwareAspectInstanceFactory to instantiate only once.
| Modifier and Type | Field and Description |
|---|---|
| private final MetadataAwareAspectInstanceFactory | |
| private volatile Object |
| Access | Constructor and Description |
|---|---|
| public | LazySingletonAspectInstanceFactoryDecorator(MetadataAwareAspectInstanceFactory
the MetadataAwareAspectInstanceFactory to decorate maaif)Create a new lazily initializing decorator for the given AspectInstanceFactory. |
| Modifier and Type | Method and Description |
|---|---|
| public ClassLoader | getAspectClassLoader()
Implements org. |
| public Object | getAspectCreationMutex()
Implements org. |
| public Object | getAspectInstance()
Implements org. |
| public AspectMetadata | getAspectMetadata()
Implements org. |
| public int | |
| public boolean | |
| public String |
| maaif | back to summary |
|---|---|
| private final MetadataAwareAspectInstanceFactory maaif | |
| materialized | back to summary |
|---|---|
| private volatile Object materialized
| |
| LazySingletonAspectInstanceFactoryDecorator | back to summary |
|---|---|
| public LazySingletonAspectInstanceFactoryDecorator(MetadataAwareAspectInstanceFactory maaif) Create a new lazily initializing decorator for the given AspectInstanceFactory.
| |
| getAspectClassLoader | back to summary |
|---|---|
| public ClassLoader getAspectClassLoader() Implements org. Doc from org. Expose the aspect class loader that this factory uses.
| |
| getAspectCreationMutex | back to summary |
|---|---|
| public Object getAspectCreationMutex() Implements org. Doc from org. Get the best possible creation mutex for this factory. | |
| getAspectInstance | back to summary |
|---|---|
| public Object getAspectInstance() Implements org. Doc from org. Create an instance of this factory's aspect. | |
| getAspectMetadata | back to summary |
|---|---|
| public AspectMetadata getAspectMetadata() Implements org. Doc from org. Get the AspectJ AspectMetadata for this factory's aspect.
| |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| isMaterialized | back to summary |
|---|---|
| public boolean isMaterialized() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |