de.willuhn.jameica.xmlrpc.server
Class XmlRpcServiceDescriptorImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by de.willuhn.jameica.xmlrpc.server.XmlRpcServiceDescriptorImpl
All Implemented Interfaces:
de.willuhn.datasource.GenericObject, XmlRpcServiceDescriptor, java.io.Serializable, java.rmi.Remote

public class XmlRpcServiceDescriptorImpl
extends java.rmi.server.UnicastRemoteObject
implements XmlRpcServiceDescriptor

Container fuer die Eigenschaften eines XML-RPC-Services.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
XmlRpcServiceDescriptorImpl(de.willuhn.jameica.plugin.Manifest manifest, de.willuhn.jameica.plugin.ServiceDescriptor service)
          ct.
 
Method Summary
 boolean equals(de.willuhn.datasource.GenericObject arg0)
           
 java.lang.Object getAttribute(java.lang.String arg0)
           
 java.lang.String[] getAttributeNames()
           
 java.lang.String getID()
           
 java.lang.String getPluginName()
          Liefert den Namen des Plugins.
 java.lang.String getPrimaryAttribute()
           
 de.willuhn.datasource.Service getService()
          Liefert den zugehoerigen Service.
 java.lang.String getServiceName()
          Liefert den Namen des Services.
 java.lang.String getURL()
          Liefert die XML-RPC URL des Services.
 boolean isShared()
          Prueft, ob der Service via XML-RPC verfuegbar sein soll.
 void setShared(boolean shared)
          Legt fest, ob der Service via XML-RPC verfuegbar sein soll.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlRpcServiceDescriptorImpl

public XmlRpcServiceDescriptorImpl(de.willuhn.jameica.plugin.Manifest manifest,
                                   de.willuhn.jameica.plugin.ServiceDescriptor service)
                            throws java.rmi.RemoteException
ct.

Parameters:
manifest -
service -
Throws:
java.rmi.RemoteException
Method Detail

isShared

public boolean isShared()
                 throws java.rmi.RemoteException
Description copied from interface: XmlRpcServiceDescriptor
Prueft, ob der Service via XML-RPC verfuegbar sein soll.

Specified by:
isShared in interface XmlRpcServiceDescriptor
Returns:
true, wenn er verfuegbar sein soll.
Throws:
java.rmi.RemoteException
See Also:
XmlRpcServiceDescriptor.isShared()

setShared

public void setShared(boolean shared)
               throws java.rmi.RemoteException
Description copied from interface: XmlRpcServiceDescriptor
Legt fest, ob der Service via XML-RPC verfuegbar sein soll.

Specified by:
setShared in interface XmlRpcServiceDescriptor
Parameters:
shared - true, wenn er verfuegbar sein soll.
Throws:
java.rmi.RemoteException
See Also:
XmlRpcServiceDescriptor.setShared(boolean)

getServiceName

public java.lang.String getServiceName()
                                throws java.rmi.RemoteException
Description copied from interface: XmlRpcServiceDescriptor
Liefert den Namen des Services.

Specified by:
getServiceName in interface XmlRpcServiceDescriptor
Returns:
Name des Services.
Throws:
java.rmi.RemoteException
See Also:
XmlRpcServiceDescriptor.getServiceName()

getPluginName

public java.lang.String getPluginName()
                               throws java.rmi.RemoteException
Description copied from interface: XmlRpcServiceDescriptor
Liefert den Namen des Plugins.

Specified by:
getPluginName in interface XmlRpcServiceDescriptor
Returns:
Name des Plugins.
Throws:
java.rmi.RemoteException
See Also:
XmlRpcServiceDescriptor.getPluginName()

getService

public de.willuhn.datasource.Service getService()
                                         throws java.rmi.RemoteException
Description copied from interface: XmlRpcServiceDescriptor
Liefert den zugehoerigen Service.

Specified by:
getService in interface XmlRpcServiceDescriptor
Returns:
der zugehoerige Service.
Throws:
java.rmi.RemoteException
See Also:
XmlRpcServiceDescriptor.getService()

equals

public boolean equals(de.willuhn.datasource.GenericObject arg0)
               throws java.rmi.RemoteException
Specified by:
equals in interface de.willuhn.datasource.GenericObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.equals(de.willuhn.datasource.GenericObject)

getAttribute

public java.lang.Object getAttribute(java.lang.String arg0)
                              throws java.rmi.RemoteException
Specified by:
getAttribute in interface de.willuhn.datasource.GenericObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.getAttribute(java.lang.String)

getAttributeNames

public java.lang.String[] getAttributeNames()
                                     throws java.rmi.RemoteException
Specified by:
getAttributeNames in interface de.willuhn.datasource.GenericObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.getAttributeNames()

getID

public java.lang.String getID()
                       throws java.rmi.RemoteException
Specified by:
getID in interface de.willuhn.datasource.GenericObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.getID()

getPrimaryAttribute

public java.lang.String getPrimaryAttribute()
                                     throws java.rmi.RemoteException
Specified by:
getPrimaryAttribute in interface de.willuhn.datasource.GenericObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.getPrimaryAttribute()

getURL

public java.lang.String getURL()
                        throws java.rmi.RemoteException
Description copied from interface: XmlRpcServiceDescriptor
Liefert die XML-RPC URL des Services.

Specified by:
getURL in interface XmlRpcServiceDescriptor
Returns:
die XML-RPC URL.
Throws:
java.rmi.RemoteException
See Also:
XmlRpcServiceDescriptor.getURL()