SMACS

smacs.xngr.browser.exchanger
Class XngrService

java.lang.Object
  extended bysmacs.xngr.browser.exchanger.XngrService
All Implemented Interfaces:
ExchangerService

public class XngrService
extends Object
implements ExchangerService

The representation of a service in the system. Services implementations should extend this class and implement the relevant methods for this class.

Author:
Edwin Dankert

Constructor Summary
XngrService(XService service, ServiceProperties properties, ServiceDocument defaultProperties)
           
 
Method Summary
 boolean close()
           
 XAction[] getActions(XElementType type)
           
 XDecorator getDecorator(XElementType type)
           
 String getDescription()
           
 Vector getElementTypeProperties()
           
 ElementTypeProperties getElementTypeProperties(XElementType type)
           
 ImageIcon getIcon()
           
 String getLocation()
           
 XManager getManager()
           
 String getName()
           
 XProperties getProperties()
           
 XService getService()
           
 ServiceDocument getServiceDocument()
           
 ServiceProperties getServiceProperties()
           
 ExchangerService newExchangerService(XService service, ServiceProperties properties, ServiceDocument defaultProperties)
           
 void open(XElement element)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XngrService

public XngrService(XService service,
                   ServiceProperties properties,
                   ServiceDocument defaultProperties)
Method Detail

newExchangerService

public ExchangerService newExchangerService(XService service,
                                            ServiceProperties properties,
                                            ServiceDocument defaultProperties)
Specified by:
newExchangerService in interface ExchangerService

getServiceProperties

public ServiceProperties getServiceProperties()
Specified by:
getServiceProperties in interface ExchangerService

getService

public XService getService()
Specified by:
getService in interface ExchangerService

getServiceDocument

public ServiceDocument getServiceDocument()
Specified by:
getServiceDocument in interface ExchangerService

getElementTypeProperties

public Vector getElementTypeProperties()
Specified by:
getElementTypeProperties in interface ExchangerService

getElementTypeProperties

public ElementTypeProperties getElementTypeProperties(XElementType type)
Specified by:
getElementTypeProperties in interface ExchangerService

getIcon

public ImageIcon getIcon()
Specified by:
getIcon in interface ExchangerService

getName

public String getName()
Specified by:
getName in interface ExchangerService

getDescription

public String getDescription()
Specified by:
getDescription in interface ExchangerService

getLocation

public String getLocation()
Specified by:
getLocation in interface ExchangerService

getManager

public XManager getManager()
Specified by:
getManager in interface ExchangerService

getProperties

public XProperties getProperties()
Specified by:
getProperties in interface ExchangerService

getDecorator

public XDecorator getDecorator(XElementType type)
Specified by:
getDecorator in interface ExchangerService

getActions

public XAction[] getActions(XElementType type)
Specified by:
getActions in interface ExchangerService

open

public void open(XElement element)
Specified by:
open in interface ExchangerService

close

public boolean close()
Specified by:
close in interface ExchangerService

toString

public String toString()

SMACS