Skip to main content

Table 6 Connection closing joinpoint definition

From: Model-based reuse for crosscutting frameworks: assessing reuse and maintenance effort

Pointcut object: connection closing joinpoints

Name

Name

“2.2 - Connection closing joinpoints”

Description

Description

“Please insert the method name in "package.Class.method" format.”

Qualified name of the owner

QualifiedOwnerName

“persistence.instantiation.helper.ExtendedConnectionCompositionRules”

Pointcut to be overridden

ElementName

“closeConnection”

Composition operator

Composition

“or”

Internal pointcut definition

InternalDefinition

“”

Iterable pointcut definition

IterableDefinition

“execution (* %s(..))”

Select supertype (aspect, class or interface)

SuperType

“Class”

  1. The second pointcut object is used to define methods that run right before the database connection must be closed.