|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.message.BasicChunkType
Basic implementation of ChunkType
interface
Constructor Summary | |
BasicChunkType(Class chunkItf,
Class chunkImpl)
Creates a new Chunk type by specifying the class object of the interface provided by chunks of this type |
|
BasicChunkType(String itfSignature,
String implSignature)
Creates a new chunk type. |
Method Summary | |
Class |
getChunkImpl()
Returns the Class object implementing the chunk interface. |
Class |
getChunkItf()
Returns the Class object corresponding to the signature of this chunk type |
String |
getChunkSignature()
Returns the signatures of the methods provided by chunks of this type. |
boolean |
isSubTypeOf(ChunkType t)
Returns true if this chunk type if a sub type of the given
chunk type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicChunkType(String itfSignature, String implSignature) throws ClassNotFoundException
itfSignature
- the signature of this chunk typeimplSignature
- the signature of the chunk implementation
ClassNotFoundException
- if the the class corresponding to the
signature cannot be found.
IllegalArgumentException
- if the specified signature does not
correspond to an interface.public BasicChunkType(Class chunkItf, Class chunkImpl)
chunkItf
- class object of the interface provided by chunks of this
typechunkImpl
- class object of the implementation of the chunk.
IllegalArgumentException
- if the specified class object does not
designate an interface.Method Detail |
public String getChunkSignature()
ChunkType
getChunkSignature
in interface ChunkType
ChunkType.getChunkSignature()
public Class getChunkItf()
public Class getChunkImpl()
public boolean isSubTypeOf(ChunkType t)
ChunkType
true
if this chunk type if a sub type of the given
chunk type.
isSubTypeOf
in interface ChunkType
t
- a chunk type
true
if this chunk type if a sub type of the given
chunk type.ChunkType.isSubTypeOf(org.objectweb.dream.message.ChunkType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |