X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fimpl%2FExtendedRouterConfig.java;fp=impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fimpl%2FExtendedRouterConfig.java;h=94b7128e04a0a41273089c6559684c3e2d7a7ade;hb=19413a6699295b4bbebc1b3bdb9838fd4370e581;hp=0000000000000000000000000000000000000000;hpb=f77e29e9ae2505009ffc9270f4c4adfde331fa62;p=xmlrouter diff --git a/impl/src/main/java/org/wamblee/xmlrouter/impl/ExtendedRouterConfig.java b/impl/src/main/java/org/wamblee/xmlrouter/impl/ExtendedRouterConfig.java new file mode 100644 index 0000000..94b7128 --- /dev/null +++ b/impl/src/main/java/org/wamblee/xmlrouter/impl/ExtendedRouterConfig.java @@ -0,0 +1,44 @@ +/* + * Copyright 2005-2011 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.wamblee.xmlrouter.impl; + +import org.wamblee.xmlrouter.config.RouterConfig; + +/** + * Extended interface for the router configuration used internally. + * + * @author Erik Brakkee + * + */ +public interface ExtendedRouterConfig extends RouterConfig { + + /** + * Locks the configuration object from further changes. + */ + // void lock(); + + /** + * Checks whether or not the configuration has changed. + * + * @return True iff dirty. + */ + boolean isDirty(); + + /** + * Resets the router configuration dirty state. + */ + void resetDirty(); +}