Author: akazakov
Date: 2007-07-03 12:45:24 -0400 (Tue, 03 Jul 2007)
New Revision: 2261
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponent.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
Log:
http://jira.jboss.com/jira/browse/EXIN-216 Moved Factories from Seam Component to Seam
Project
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponent.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponent.java 2007-07-03
16:34:03 UTC (rev 2260)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponent.java 2007-07-03
16:45:24 UTC (rev 2261)
@@ -79,11 +79,6 @@
public Set<ISeamComponentMethod> getMethodsByType(SeamComponentMethodType type);
/**
- * @return Factories methods of component
- */
- public Set<ISeamAnnotatedFactory> getFactories();
-
- /**
* Returns properties by name from component.xml.
* @param propertyName
* @return
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java 2007-07-03
16:34:03 UTC (rev 2260)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java 2007-07-03
16:45:24 UTC (rev 2261)
@@ -107,21 +107,4 @@
* @param method
*/
public void removeMethod(ISeamComponentMethod method);
-
- /**
- * @return Factories methods of component
- */
- public Set<ISeamAnnotatedFactory> getFactories();
-
- /**
- * Adds factory method
- * @param factory
- */
- public void addFactory(ISeamAnnotatedFactory factory);
-
- /**
- * Remove factory method
- * @param factory
- */
- public void removeFactory(ISeamAnnotatedFactory factory);
}
\ No newline at end of file
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-07-03
16:34:03 UTC (rev 2260)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-07-03
16:45:24 UTC (rev 2261)
@@ -69,4 +69,36 @@
* @return all seam variables from specific context
*/
public Set<ISeamContextVariable> getVariablesByScope(ScopeType scope);
+
+ /**
+ * @return Factories methods of component
+ */
+ public Set<ISeamFactory> getFactories();
+
+ /**
+ * @return Factories methods of component
+ */
+ public Set<ISeamFactory> getFactories(String name, ScopeType scope);
+
+ /**
+ * @return Factories methods of component
+ */
+ public Set<ISeamFactory> getFactoriesByName(String name);
+
+ /**
+ * @return Factories methods of component
+ */
+ public Set<ISeamFactory> getFactoriesByScope(ScopeType scope);
+
+ /**
+ * Adds factory method
+ * @param factory
+ */
+ public void addFactory(ISeamFactory factory);
+
+ /**
+ * Remove factory method
+ * @param factory
+ */
+ public void removeFactory(ISeamFactory factory);
}
\ No newline at end of file