[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Implementing JAXB style parsing for aop-mc-int

adrian@jboss.org do-not-reply at jboss.com
Thu Feb 21 11:53:40 EST 2008


It's a stupid error message, it means it can't use some part of your object
because it is defined using interfaces without any idea of implementation.

The reason is this in AbstractKernelDeployment (look at the stacktrace of your message)


  |    public List<KernelControllerContext> getInstalledContexts()
  |    {
  |       return installedContexts;
  |    }
  | 

There's two ways to fix it.
1) You mark either the getter or setter as @XmlTransient
2) You do like is done on AbstractKernelDeployment and list the
properties you want to explicity include in the xml


  | @XmlType(propOrder={"annotations", "classLoader", "beanFactories", "create", "start", "stop", "destroy", "aliases"})
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131157#4131157

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131157



More information about the jboss-dev-forums mailing list