@Override
public void merge(JBossEnterpriseBeanMetaData override, EnterpriseBeanMetaData original, String overridenFile, String overrideFile, boolean mustOverride)
{
super.merge(override, original, overridenFile, overrideFile, mustOverride);
JBossSessionBeanMetaData joverride = (JBossSessionBeanMetaData) override;
SessionBeanMetaData soriginal = (SessionBeanMetaData) original;
// home
if(joverride != null && joverride.getHome() != null)
home = joverride.getHome();
else if(soriginal != null && soriginal.getHome() != null)
home = soriginal.getHome();
// remote
if(joverride != null && joverride.getRemote() != null)
remote = joverride.getRemote();
else if(soriginal != null && soriginal.getRemote() != null)
remote = soriginal.getRemote();
// localHome
if(joverride != null && joverride.getLocalHome() != null)
localHome = joverride.getLocalHome();
else if(soriginal != null && soriginal.getLocalHome() != null)
localHome = soriginal.getLocalHome();
// local
if(joverride != null && joverride.getLocal() != null)
local = joverride.getLocal();
else if(soriginal != null && soriginal.getLocal() != null)
local = soriginal.getLocal();
// businessLocals
if(joverride != null && joverride.getBusinessLocals() != null)
businessLocals = joverride.getBusinessLocals();
else if(soriginal != null && soriginal.getBusinessLocals() != null)
businessLocals = soriginal.getBusinessLocals();
// businessRemotes
if(joverride != null && joverride.getBusinessRemotes() != null)
businessRemotes = joverride.getBusinessRemotes();
else if(soriginal != null && soriginal.getBusinessRemotes() != null)
businessRemotes = soriginal.getBusinessRemotes();
// serviceEndpoint
if(joverride != null && joverride.getServiceEndpoint() != null)
serviceEndpoint = joverride.getServiceEndpoint();
else if(soriginal != null && soriginal.getServiceEndpoint() != null)
serviceEndpoint = soriginal.getServiceEndpoint();
// sessionType
if(joverride != null && joverride.getSessionType() != null)
sessionType = joverride.getSessionType();
else if(soriginal != null && soriginal.getSessionType() != null)
sessionType = soriginal.getSessionType();
// timeoutMethod
if(joverride != null && joverride.getTimeoutMethod() != null)
timeoutMethod = joverride.getTimeoutMethod();
else if(soriginal != null && soriginal.getTimeoutMethod() != null)
timeoutMethod = soriginal.getTimeoutMethod();
// initMethods
if(joverride != null && joverride.getInitMethods() != null)
initMethods = joverride.getInitMethods();
else if(soriginal != null && soriginal.getInitMethods() != null)
initMethods = soriginal.getInitMethods();
// removeMethods
if(joverride != null && joverride.getRemoveMethods() != null)
removeMethods = joverride.getRemoveMethods();
else if(soriginal != null && soriginal.getRemoveMethods() != null)
removeMethods = soriginal.getRemoveMethods();
// aroundInvokes
if(joverride != null && joverride.getAroundInvokes() != null)
aroundInvokes = joverride.getAroundInvokes();
else if(soriginal != null && soriginal.getAroundInvokes() != null)
aroundInvokes = soriginal.getAroundInvokes();
// postActivates
if(joverride != null && joverride.getPostActivates() != null)
postActivates = joverride.getPostActivates();
else if(soriginal != null && soriginal.getPostActivates() != null)
postActivates = soriginal.getPostActivates();
// prePassivates
if(joverride != null && joverride.getPrePassivates() != null)
prePassivates = joverride.getPrePassivates();
else if(soriginal != null && soriginal.getPrePassivates() != null)
prePassivates = soriginal.getPrePassivates();
// securityRoleRefs
if(joverride != null && joverride.getSecurityRoleRefs() != null)
securityRoleRefs = joverride.getSecurityRoleRefs();
else if(soriginal != null && soriginal.getSecurityRoleRefs() != null)
securityRoleRefs = soriginal.getSecurityRoleRefs();
// jndiName
if(joverride != null && joverride.getJndiName() != null)
jndiName = joverride.getJndiName();
// callByValue