[jboss-svn-commits] JBoss Common SVN: r4204 - invokablecontainer/trunk/api/src/main/java/org/jboss/invokable.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Mar 29 15:17:44 EDT 2010
Author: david.lloyd at jboss.com
Date: 2010-03-29 15:17:43 -0400 (Mon, 29 Mar 2010)
New Revision: 4204
Added:
invokablecontainer/trunk/api/src/main/java/org/jboss/invokable/NodeAssociationType.java
Log:
And an association type
Added: invokablecontainer/trunk/api/src/main/java/org/jboss/invokable/NodeAssociationType.java
===================================================================
--- invokablecontainer/trunk/api/src/main/java/org/jboss/invokable/NodeAssociationType.java (rev 0)
+++ invokablecontainer/trunk/api/src/main/java/org/jboss/invokable/NodeAssociationType.java 2010-03-29 19:17:43 UTC (rev 4204)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss 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.invokable;
+
+/**
+ * @author <a href="mailto:david.lloyd at redhat.com">David M. Lloyd</a>
+ */
+public interface NodeAssociationType {
+
+ /**
+ * Get the node association for a given name, or {@code null} if none is available.
+ *
+ * @param name the name
+ * @return the association
+ */
+ NodeAssociation getAssociation(String name);
+}
More information about the jboss-svn-commits
mailing list