if (enterpriseBean != null && (enterpriseBean instanceof JBossSessionBeanMetaData))
{
PortComponent pc = ((JBossSessionBeanMetaData)enterpriseBean).getPortComponent();
if (pc != null)
{
PortComponentMD annotation = new PortComponentMD();
annotation.setAuthMethod(pc.getAuthMethod());
annotation.setPortComponentName(pc.getPortComponentName());
annotation.setPortComponentURI(pc.getPortComponentURI());
annotation.setSecureWSDLAccess(pc.getSecureWSDLAccess());
annotation.setTransportGuarantee(pc.getTransportGuarantee());
addClassAnnotation(container, PortComponentSpec.class, annotation);
}
}
}