[jboss-cvs] JBossAS SVN: r104677 - projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 11 08:33:11 EDT 2010


Author: emuckenhuber
Date: 2010-05-11 08:33:10 -0400 (Tue, 11 May 2010)
New Revision: 104677

Added:
   projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentHolder.java
   projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentVisitor.java
Log:
attachment meta data creation based on a profile deployment

Added: projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentHolder.java
===================================================================
--- projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentHolder.java	                        (rev 0)
+++ projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentHolder.java	2010-05-11 12:33:10 UTC (rev 104677)
@@ -0,0 +1,39 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2010, Red Hat Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.profileservice.spi.deployment;
+
+/**
+ * The {@code MetaDataAttachmentHolder}. 
+ * 
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public interface MetaDataAttachmentHolder
+{
+   /**
+    * Visit.
+    * 
+    * @param visitor the attachment visitor
+    */
+   void visit(MetaDataAttachmentVisitor visitor);
+}
+

Added: projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentVisitor.java
===================================================================
--- projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentVisitor.java	                        (rev 0)
+++ projects/profileservice/trunk/spi/src/main/java/org/jboss/profileservice/spi/deployment/MetaDataAttachmentVisitor.java	2010-05-11 12:33:10 UTC (rev 104677)
@@ -0,0 +1,56 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2010, Red Hat Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.profileservice.spi.deployment;
+
+
+/**
+ * The {@code AttachmentVisitor}, used to extract additional attachment
+ * information from the {@code ProfileDeploymentMetaData}.
+ * 
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public interface MetaDataAttachmentVisitor
+{
+
+   /**
+    * Get the predetermined attachments.
+    * 
+    * @return the predetermined attachments
+    */
+   DeploymentAttachments getPredeterminedAttachments();
+
+   /**
+    * Get the transient attachments. 
+    * 
+    * @return the transient attachments
+    */
+   DeploymentAttachments getTransientAttachments();
+   
+   /**
+    * Visit.
+    * 
+    * @param attachmentHolder the attachment holder
+    */
+   void visit(MetaDataAttachmentHolder attachmentHolder);
+}
+




More information about the jboss-cvs-commits mailing list