argos.naming
Class NamingService
java.lang.Object
argos.naming.NamingService
public class NamingService
- extends Object
Created on 04.jul.2006
- Author:
- Dan Peder Eriksen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static NamingService getInstance()
addComponent
public boolean addComponent(ComponentMetaInfo meta,
Object mbean)
addNotificationProxy
public boolean addNotificationProxy(NotificationProxy proxy)
addService
public void addService(ServiceMetaInfo service)
getAllComponentMetaData
public List<ComponentMetaInfo> getAllComponentMetaData()
getBangBang
public Object getBangBang(String name)
getComponentByMeta
public Object getComponentByMeta(ComponentMetaInfo meta)
getComponentByName
public Object getComponentByName(String name)
getComponentMetaByName
public ComponentMetaInfo getComponentMetaByName(String name)
getComponentMetaByName
public ComponentMetaInfo getComponentMetaByName(String name,
boolean verbose)
getComponentMetaByComponent
public ComponentMetaInfo getComponentMetaByComponent(Object component)
getComponentMetaByMBeanName
public ComponentMetaInfo getComponentMetaByMBeanName(String mbean)
getComponentMetaDatas
public List<ComponentMetaInfo> getComponentMetaDatas()
getLoadedFiles
public List<File> getLoadedFiles()
getNotificationProxy
public NotificationProxy getNotificationProxy(Object object)
getServiceByName
public ServiceMetaInfo getServiceByName(String name,
boolean verbose)
getServiceByName
public ServiceMetaInfo getServiceByName(String name)
getServiceByFile
public ServiceMetaInfo getServiceByFile(File file)
getAllServices
public List<ServiceMetaInfo> getAllServices()
isComponentLoaded
public boolean isComponentLoaded(ComponentMetaInfo meta)
isComponentLoaded
public boolean isComponentLoaded(String name)
isFileLoaded
public boolean isFileLoaded(File file)
removeComponent
public void removeComponent(ComponentMetaInfo meta)
removeService
public void removeService(ServiceMetaInfo service)
isNewer
public boolean isNewer(File jarFile)
- Checks to see if the given file is newer than the one that
is loaded. Its assumed that the file is already loaded.
- Parameters:
jarFile
- The jar file checking is done against.
- Returns:
- True if the given jar file is never, false otherwise.
Copyright © 2004-2007 University of Troms?. All Rights Reserved.