com.ldodds.slug.framework.config
Interface Component

All Known Subinterfaces:
Consumer, TaskFilter
All Known Implementing Classes:
AbstractResponseStorer, ComponentImpl, DelegatingConsumerImpl, DelegatingTaskFilterImpl, RDFConsumer, ResponseStorer, TaskFilterImpl, URLTaskFilter

public interface Component

Tagging interface to mark classes capable of being used within the Slug Configuration Framework


Method Summary
 void configure(Resource self)
          Requests that the component instance configure itself based on properties associated with a given RDF resource.
 boolean isConfigured()
           
 

Method Detail

configure

public void configure(Resource self)
Requests that the component instance configure itself based on properties associated with a given RDF resource. Method should only be called once in a Component's life cycle.

Parameters:
self - Reference to the Jena Resource from which the Component was instantiated.

isConfigured

public boolean isConfigured()