- /**
- * Deprecated.
-
- * @deprecated this method should never have been exposed publicly - registration should be done via the
- * public {@link #createMountPoint} interface. As such, this method expects the {@code mountPoint} param
- * to be of type {@link SimpleDOMMountPoint}.
- */
- @Deprecated
- public ObjectRegistration<DOMMountPoint> registerMountPoint(final DOMMountPoint mountPoint) {
- Preconditions.checkArgument(mountPoint instanceof SimpleDOMMountPoint, "Expected SimpleDOMMountPoint");
- return doRegisterMountPoint((SimpleDOMMountPoint) mountPoint);
- }
-