org.cogchar.bind.rk.behavior
Class ChannelBindingConfig

java.lang.Object
  extended by org.cogchar.bind.rk.behavior.ChannelBindingConfig

public class ChannelBindingConfig
extends Object

Current approach requires us to define, for each "Type" of channel: An ChannelType-enum value yielding a build-time URI with a Java service class handle. Then each actual ChannelBindingConfig refers to such a type, and binds a flexible "channelID" uri, plus an OSGi filter string.

Author:
Matthew Stevenson , Stub22

Nested Class Summary
static class ChannelBindingConfig.ChannelType
           
 
Constructor Summary
ChannelBindingConfig()
           
 
Method Summary
 boolean equals(Object obj)
           
protected  org.appdapter.core.name.Ident getChannelIdent()
           
 ChannelBindingConfig.ChannelType getChannelType()
           
 String getChannelURI()
           
 String getOSGiFilterString()
           
 int hashCode()
           
 void initExplicitly(ChannelBindingConfig.ChannelType chanType, String chanUri, String osgiFilter)
           
 void initFromChannelSpec(org.cogchar.impl.channel.FancyChannelSpec cspec)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelBindingConfig

public ChannelBindingConfig()
Method Detail

initFromChannelSpec

public void initFromChannelSpec(org.cogchar.impl.channel.FancyChannelSpec cspec)

initExplicitly

public void initExplicitly(ChannelBindingConfig.ChannelType chanType,
                           String chanUri,
                           String osgiFilter)

getChannelURI

public String getChannelURI()

getChannelIdent

protected org.appdapter.core.name.Ident getChannelIdent()

getOSGiFilterString

public String getOSGiFilterString()

getChannelType

public ChannelBindingConfig.ChannelType getChannelType()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2010-2014. All Rights Reserved.