if (container instanceof TypedCompositeActor) {
// If the container is not a typed composite actor, then don't create
// a relation. Probably the container is a library.
try {
_relation = new TypedIORelation(
(TypedCompositeActor) container, container
.uniqueName("publisherRelation"));
// Prevent the relation and its links from being exported.
_relation.setPersistent(false);
// Prevent the relation from showing up in vergil.
new Parameter(_relation, "_hide", BooleanToken.TRUE);