[jboss-dev-forums] [Design of POJO Server] - Re: JAXB Deployer

alesj do-not-reply at jboss.com
Wed Mar 18 16:16:54 EDT 2009


https://jira.jboss.org/jira/browse/JBDEPLOY-178


  | public void create() throws Exception
  |    {
  |       if (properties != null)
  |          context = JAXBContext.newInstance(classesToBeBound(), properties);
  |       else
  |          context = JAXBContext.newInstance(classesToBeBound());
  |    }
  | 
  |    /**
  |     * Get classes to be bound.
  |     *
  |     * @return the classes to be bound
  |     */
  |    protected Class<?>[] classesToBeBound()
  |    {
  |       return new Class<?>[]{getOutput()};
  |    }
  |  

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

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



More information about the jboss-dev-forums mailing list