X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=trunk%2Fsystem%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2FComponent.java;h=0234005f958be3922c8eb719ccf27323a47fda38;hb=e0d12c29d790df290ab79f7b2a1af04e0eb5311e;hp=4083c5bd6fc9e28f2e4b04e096e659d06b5d0d9b;hpb=43ab66f665c102850f1d31d1e96244899c9ff407;p=utils diff --git a/trunk/system/general/src/main/java/org/wamblee/system/Component.java b/trunk/system/general/src/main/java/org/wamblee/system/Component.java index 4083c5bd..0234005f 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/Component.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/Component.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 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.system; /** @@ -23,6 +38,14 @@ public interface Component { * @return Subsystem name. */ String getName(); + + /** + * Gets the fully qualified name of the component which includes + * the context of the component. + * This method can only be used after the component has started. + * @return Qualified name. + */ + String getQualifiedName(); /** * Gets a description of the provided interfaces.