[jboss-cvs] JBossCache/src/org/jboss/cache/marshall ...
Manik Surtani
msurtani at jboss.com
Wed Jan 17 12:21:37 EST 2007
User: msurtani
Date: 07/01/17 12:21:37
Modified: src/org/jboss/cache/marshall VersionAwareMarshaller.java
AbstractMarshaller.java Marshaller.java
Log:
Removed unused Marshaller methods
Revision Changes Path
1.16 +0 -22 JBossCache/src/org/jboss/cache/marshall/VersionAwareMarshaller.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: VersionAwareMarshaller.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/VersionAwareMarshaller.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- VersionAwareMarshaller.java 17 Jan 2007 14:13:06 -0000 1.15
+++ VersionAwareMarshaller.java 17 Jan 2007 17:21:36 -0000 1.16
@@ -223,17 +223,6 @@
}
/**
- * Tests whether a particular Fqn passed in is inactive.
- *
- * @param fqn
- * @return true if the fqn is inactive
- */
- public boolean isInactive(String fqn)
- {
- return defaultMarshaller.isInactive(fqn);
- }
-
- /**
* Acts as a versioning decorator to the default marshaller. Does not create or close the stream.
*
* @param obj object to marshall
@@ -271,15 +260,4 @@
return marshaller.objectFromObjectStream(in);
}
-
- /**
- * Returns the class loader associated with a particular Fqn.
- *
- * @param fqn
- * @return the context class loader associated with the Fqn passed in.
- */
- public ClassLoader getClassLoader(String fqn)
- {
- return defaultMarshaller.getClassLoader(fqn);
- }
}
1.3 +0 -30 JBossCache/src/org/jboss/cache/marshall/AbstractMarshaller.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AbstractMarshaller.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/AbstractMarshaller.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- AbstractMarshaller.java 17 Jan 2007 14:13:06 -0000 1.2
+++ AbstractMarshaller.java 17 Jan 2007 17:21:36 -0000 1.3
@@ -194,34 +194,4 @@
}
return regionManager.getRegion(fqn, false);
}
-
- /**
- * Gets the classloader previously registered for <code>fqn</code>.
- *
- * @param fqn the fqn
- * @return the classloader associated with the cache region rooted by
- * <code>fqn</code>, or <code>null</code> if no classloader has
- * been associated with the region.
- */
- public ClassLoader getClassLoader(String fqn)
- {
- ClassLoader result = null;
- Region region = regionManager.getRegion(Fqn.fromString(fqn), false);
- if (region != null) result = region.getClassLoader();
- return result;
- }
-
- /**
- * Gets whether unmarshalling has been disabled for the region
- * rooted in the given Fqn.
- *
- * @param fqn
- * @return <code>true</code> if unmarshalling is disabled;
- * <code>false</code> otherwise.
- */
- public boolean isInactive(String fqn)
- {
- Region region = regionManager.getRegion(Fqn.fromString(fqn), false);
- return region == null ? defaultInactive : !region.isActive();
- }
}
1.11 +0 -16 JBossCache/src/org/jboss/cache/marshall/Marshaller.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Marshaller.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/Marshaller.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- Marshaller.java 17 Jan 2007 14:13:06 -0000 1.10
+++ Marshaller.java 17 Jan 2007 17:21:36 -0000 1.11
@@ -67,20 +67,4 @@
* @throws Exception
*/
void objectToObjectStream(Object obj, ObjectOutputStream out, Fqn region) throws Exception;
-
- /**
- * Tests whether a particular Fqn passed in is inactive.
- *
- * @param fqn
- * @return true if the fqn is inactive
- */
- boolean isInactive(String fqn);
-
- /**
- * Returns the class loader associated with a particular Fqn.
- *
- * @param fqn
- * @return the context class loader associated with the Fqn passed in.
- */
- ClassLoader getClassLoader(String fqn);
}
More information about the jboss-cvs-commits
mailing list