Hi Norman,

I use it to inject the mailboxCopier bean in the MailboxCopierManagement (callable via JMX)

public class MailboxCopierManagement extends StandardMBean implements MailboxCopierManagementMBean {

    @Resource(name="mailboxCopier")
    private MailboxCopier mailboxCopier;

    public MailboxCopierManagement() throws NotCompliantMBeanException {
        super(MailboxCopierManagementMBean.class);
    }

    public Boolean copyMailboxes() {
        return mailboxCopier.copyMailboxes();
    }

Tks,

Eric



On 13/12/2010 16:47, Norman Maurer wrote:
I wonder what you need the jsr-250 stuff for.. Could you explain ?

Bye,
Norman

2010/12/13<[email protected]>:
Author: eric
Date: Mon Dec 13 15:39:04 2010
New Revision: 1045178

URL: http://svn.apache.org/viewvc?rev=1045178&view=rev
Log:
Add jsr250 (MAILBOX-19) + Align derby version to server project derby version.

Modified:
    james/mailbox/trunk/parent/pom.xml

Modified: james/mailbox/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/parent/pom.xml?rev=1045178&r1=1045177&r2=1045178&view=diff
==============================================================================
--- james/mailbox/trunk/parent/pom.xml (original)
+++ james/mailbox/trunk/parent/pom.xml Mon Dec 13 15:39:04 2010
@@ -425,7 +425,7 @@
       <dependency>
         <groupId>org.apache.derby</groupId>
         <artifactId>derby</artifactId>
-<version>10.2.2.0</version>
+<version>10.6.2.1</version>
         <scope>test</scope>
       </dependency>
       <dependency>
@@ -563,7 +563,22 @@
         END JCR
       -->

+<!--
+        START JSR250
+      -->
+
+<dependency>
+<groupId>javax.annotation</groupId>
+<artifactId>jsr250-api</artifactId>
+<version>1.0</version>
+</dependency>
+
+<!--
+      END JSR250
+     -->
+
     </dependencies>
+
   </dependencyManagement>

   <profiles>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to