Component behaviors and port behaviors are both in the scope of the component and can directly access the resources of the component.