[jboss-user] [JBoss Microcontainer Development] New message: "Re: DependencyInfo remove items"
Kabir Khan
do-not-reply at jboss.com
Thu Jan 28 15:31:48 EST 2010
User development,
A new message was posted in the thread "DependencyInfo remove items":
http://community.jboss.org/message/522868#522868
Author : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com
Message:
--------------------------------------------------------------
To avoid the stack trace, I have changed it to this:
//FIXME DemandDependencyItems have a null iDependOn
if (item.getIDependOn() == null)
{
log.warn("Null iDependOn for " + item);
}
else
{
ControllerContext dependency = getContext(item.getIDependOn(), item.getDependentState());
if (dependency != null)
{
DependencyInfo info = dependency.getDependencyInfo();
if (info != null)
{
info.removeDependsOnMe(item);
}
}
}
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522868#522868
More information about the jboss-user
mailing list