com.atlassian.confluence.plugin.descriptor.rpc
Class RpcModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>
      extended by com.atlassian.confluence.plugin.descriptor.rpc.RpcModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<java.lang.Object>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware
Direct Known Subclasses:
SoapModuleDescriptor, XmlRpcModuleDescriptor

public abstract class RpcModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>


Field Summary
protected  boolean authenticated
           
static org.apache.log4j.Logger log
          Deprecated. 
protected  java.lang.String publishedInterface
           
protected  java.lang.String servicePath
           
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
protected RpcModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 void disabled()
           
 void enabled()
           
 java.lang.Object getModule()
           
 java.lang.Class getPublishedInterface()
           
 java.lang.String getServicePath()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 boolean isAuthenticated()
           
protected abstract  void resetServerConfig()
           
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

@Deprecated
public static final org.apache.log4j.Logger log
Deprecated. 

servicePath

protected java.lang.String servicePath

publishedInterface

protected java.lang.String publishedInterface

authenticated

protected boolean authenticated
Constructor Detail

RpcModuleDescriptor

protected RpcModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

resetServerConfig

protected abstract void resetServerConfig()

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Object>
Overrides:
init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>
Throws:
com.atlassian.plugin.PluginParseException

getModule

public java.lang.Object getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Object>
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>

enabled

public void enabled()
Specified by:
enabled in interface com.atlassian.plugin.StateAware
Overrides:
enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>

disabled

public void disabled()
Specified by:
disabled in interface com.atlassian.plugin.StateAware
Overrides:
disabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Object>

isAuthenticated

public boolean isAuthenticated()

getServicePath

public java.lang.String getServicePath()

getPublishedInterface

public java.lang.Class getPublishedInterface()
                                      throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException


Copyright © 2003-2013 Atlassian. All Rights Reserved.