private void writeMef ( Definition def , Writer out , int indent ) throws IOException { writeWithIndent ( out , indent , "/**\n" ) ; writeWithIndent ( out , indent , " * Get message endpoint factory\n" ) ; writeWithIndent ( out , indent , " * @return Message endpoint factory\n" ) ; writeWithIndent ( out , indent , " */\n" ) ; writeWithIndent ( out , indent , "public MessageEndpointFactory getMessageEndpointFactory()" ) ; writeLeftCurlyBracket ( out , indent ) ; writeWithIndent ( out , indent + 1 , "return endpointFactory;" ) ; writeRightCurlyBracket ( out , indent ) ; writeEol ( out ) ; }
Output message endpoint factory method