protected boolean isDependency() {
return Utils.isDependency(subsystem, resource);
}
protected boolean isReferencedProvisionTo() {
DeploymentManifest manifest = subsystem.getDeploymentManifest();
if (manifest != null) {
DeployedContentHeader header = manifest.getDeployedContentHeader();
if (header != null && header.contains(resource))
return subsystem.isReferenced(resource);
}
if (subsystem.equals(provisionTo))
return isReferencedSubsystem();