Author: mes
Date: 2010-10-27 15:42:25 -0700 (Wed, 27 Oct 2010)
New Revision: 22527
Modified:
core3/work-spring-hack/trunk/pom.xml
core3/work-spring-hack/trunk/src/main/java/org/cytoscape/work/spring/SpringTunableInterceptor.java
Log:
added javadoc
Modified: core3/work-spring-hack/trunk/pom.xml
===================================================================
--- core3/work-spring-hack/trunk/pom.xml 2010-10-27 22:35:38 UTC (rev
22526)
+++ core3/work-spring-hack/trunk/pom.xml 2010-10-27 22:42:25 UTC (rev
22527)
@@ -4,7 +4,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.cytoscape</groupId>
- <version>3.0.0-alpha1</version>
+ <version>3.0.0-alpha3</version>
</parent>
<properties>
Modified:
core3/work-spring-hack/trunk/src/main/java/org/cytoscape/work/spring/SpringTunableInterceptor.java
===================================================================
---
core3/work-spring-hack/trunk/src/main/java/org/cytoscape/work/spring/SpringTunableInterceptor.java
2010-10-27 22:35:38 UTC (rev 22526)
+++
core3/work-spring-hack/trunk/src/main/java/org/cytoscape/work/spring/SpringTunableInterceptor.java
2010-10-27 22:42:25 UTC (rev 22527)
@@ -20,6 +20,12 @@
super(hf);
}
+ /**
+ * This method calls {...@link AbstractTunableInterceptor.loadTunables}
with the
+ * unwrapped object instead of the Spring proxy object, which is
provided as
+ * an argument.
+ * @param obj The Spring proxy object from which we'd like the raw
object.
+ */
final public void loadTunables(final Object obj) {
if (obj instanceof InfrastructureProxy)
super.loadTunables(((InfrastructureProxy)obj).getWrappedObject());
@@ -27,6 +33,11 @@
super.loadTunables( obj );
}
+ /**
+ * This method returns the raw, unwrapped object from the Spring proxy
object.
+ * @param o The Spring proxy object from which we'd like the raw object.
+ * @return The raw, unwrapped object from the Spring proxy object.
+ */
final protected Object convertSpringProxyObj(final Object o) {
if (o instanceof InfrastructureProxy)
return ((InfrastructureProxy)o).getWrappedObject();
@@ -34,6 +45,11 @@
return o;
}
+ /**
+ * This method returns the raw, unwrapped objects from the Spring proxy
objects.
+ * @param proxyObjs The Spring proxy objects from which we'd like the
raw objects.
+ * @return An array of raw, unwrapped objects from the Spring proxy
objects.
+ */
final protected Object[] convertSpringProxyObjs(final Object...
proxyObjs) {
final Object[] objs = new Object[proxyObjs.length];
int i = 0;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.