org.granite.config.flex
Class Destination

java.lang.Object
  extended by org.granite.config.flex.Destination
All Implemented Interfaces:
Serializable

public class Destination
extends Object
implements Serializable

Author:
Franck WOLFF
See Also:
Serialized Form

Constructor Summary
Destination(String id, List<String> channelRefs, XMap properties, List<String> roles, Adapter adapter, Class<?> scannedClass)
           
 
Method Summary
 void addRemoveListener(DestinationRemoveListener listener)
           
static Destination forElement(XMap element, Adapter defaultAdapter, Map<String,Adapter> adaptersMap)
           
 Adapter getAdapter()
           
 List<String> getChannelRefs()
           
 String getId()
           
 XMap getProperties()
           
 List<String> getRoles()
           
 Class<?> getScannedClass()
           
 DestinationSecurizer getSecurizer()
           
 boolean isSecured()
           
 void remove()
           
 void setSecurizer(DestinationSecurizer securizer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Destination

public Destination(String id,
                   List<String> channelRefs,
                   XMap properties,
                   List<String> roles,
                   Adapter adapter,
                   Class<?> scannedClass)
Method Detail

addRemoveListener

public void addRemoveListener(DestinationRemoveListener listener)

remove

public void remove()

getId

public String getId()

getChannelRefs

public List<String> getChannelRefs()

getProperties

public XMap getProperties()

isSecured

public boolean isSecured()

getRoles

public List<String> getRoles()

getAdapter

public Adapter getAdapter()

getScannedClass

public Class<?> getScannedClass()

getSecurizer

public DestinationSecurizer getSecurizer()

setSecurizer

public void setSecurizer(DestinationSecurizer securizer)

forElement

public static Destination forElement(XMap element,
                                     Adapter defaultAdapter,
                                     Map<String,Adapter> adaptersMap)