A port is created on the outside of a classifier and specifies a distinct interaction point between the classifier and its environment or between the (behavior of the) classifier and its internal parts.
Ports can be connected to:
a part via a delegation connector, through which requests can be made to invoke the behavioral features of a classifier
an interface via a require link, through which the port may specify the services a classifier provides (offers) to its environment as well as the services that a classifier expects (requires) of its environment.
A port can be created in the following diagrams:
In the example below, the class TitleImpl2 contains the ports sql and stat, which are connected by require links to the interfaces java.math.stat2 and java.sql.connection2: