Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
U
W
A
addToEnvironment(String, Object)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Adds a new environment property to the environment of this context.
Attachment
- Class in
org.ow2.carol.cmi.smart.message
Class used as attachment for client's channel (to store the bytecode that is read).
Attachment()
- Constructor for class org.ow2.carol.cmi.smart.message.
Attachment
B
bind(Name, Object)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Bind a new clustered object.
bind(String, Object)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Bind a new clustered object.
C
CLASS_ANSWER
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Server answering for a class.
CLASS_NOT_FOUND
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Server answering for a class that was not found.
CLASS_REQUEST
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Client asking for a Class.
ClassAnswer
- Class in
org.ow2.carol.cmi.smart.message
Send a class to the client.
ClassAnswer(String, byte[])
- Constructor for class org.ow2.carol.cmi.smart.message.
ClassAnswer
Builds a new answer with the given class name and the array of bytes.
ClassAnswer(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ClassAnswer
Builds a new answer with the given bytebuffer.
ClassNotFound
- Class in
org.ow2.carol.cmi.smart.message
Send a Class not found message to client.
ClassNotFound(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
ClassNotFound
Builds a new message with the given class name.
ClassNotFound(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ClassNotFound
Builds a message by using the data contains in the bytebuffer.
ClassRequest
- Class in
org.ow2.carol.cmi.smart.message
Sends a request with the classname that is wanted.
ClassRequest(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
ClassRequest
Builds a new message with the given class name.
ClassRequest(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ClassRequest
Builds a message by using the data contains in the bytebuffer.
close()
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
CMI_CONFIG_SMART
- Static variable in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Smart CMI configuration.
CMI_FACTORY
- Static variable in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
CMI initial context factory.
CMI_SMART_FACTORY
- Static variable in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
CMI delegating factory.
composeName(Name, Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
composeName(String, String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
createSubcontext(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
createSubcontext(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
D
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Decode the string encoded in the bytebuffer in UTF-8 format.
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ClassNotFound
Decode the string encoded in the bytebuffer in UTF-8 format.
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ClassRequest
Decode the string encoded in the bytebuffer in UTF-8 format.
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Decode the string encoded in the bytebuffer in UTF-8 format.
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Decode the string encoded in the bytebuffer in UTF-8 format.
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ResourceNotFound
Decode the string encoded in the bytebuffer in UTF-8 format.
decode(ByteBuffer)
- Method in class org.ow2.carol.cmi.smart.message.
ResourceRequest
Decode the string encoded in the bytebuffer in UTF-8 format.
destroySubcontext(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
destroySubcontext(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
E
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ClassNotFound
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ClassRequest
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameRequest
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsRequest
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ResourceNotFound
Encode the given string into a bytebuffer.
encode(String)
- Method in class org.ow2.carol.cmi.smart.message.
ResourceRequest
Encode the given string into a bytebuffer.
F
FACTORY_NAME_ANSWER
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Server answering for a factory name.
FACTORY_NAME_REQUEST
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Client asking for a factory name.
FactoryNameAnswer
- Class in
org.ow2.carol.cmi.smart.message
Server sends the factory name to the client.
FactoryNameAnswer(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Create a new answer with the given buffer for the wrapped factory name.
FactoryNameAnswer(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Create a new answer with the given wrapped factory name.
FactoryNameRequest
- Class in
org.ow2.carol.cmi.smart.message
Client asks the factory name to the server.
FactoryNameRequest(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
FactoryNameRequest
Builds a new message with the given name.
findClass(String)
- Method in class org.ow2.carol.cmi.smart.client.
SmartClassLoader
Finds and loads the class with the specified name from the URL search path.
findResource(String)
- Method in class org.ow2.carol.cmi.smart.client.
SmartClassLoader
Finds the resource with the specified name on the URL search path.
G
getByteBuffer()
- Method in class org.ow2.carol.cmi.smart.message.
Attachment
Gets the buffer of this object.
getByteCode()
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Gets bytecode of the class.
getBytes()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Gets bytecode of the class.
getClassName()
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Gets the name of this class.
getClassName()
- Method in class org.ow2.carol.cmi.smart.message.
ClassNotFound
Gets the class name of this message.
getClassName()
- Method in class org.ow2.carol.cmi.smart.message.
ClassRequest
Gets the class name of this message.
getEnvironment()
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
getFactoryName()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Get the wrapped factory name.
getHost(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Get the hostname of given url.
getInitialContext(Hashtable)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Creates an Initial Context for beginning name resolution.
getMessage()
- Method in interface org.ow2.carol.cmi.smart.api.
Message
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ClassNotFound
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ClassRequest
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameRequest
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Get the message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsRequest
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Gets a message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceNotFound
Get the message to send.
getMessage()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceRequest
Gets a message to send.
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ClassNotFound
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ClassRequest
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameRequest
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsRequest
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Gets the content of this message (only this part, not the header).
getMessageContent()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceRequest
Gets the content of this message (only this part, not the header).
getNameInNamespace()
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
getNameParser(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
getNameParser(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
getOperationCode()
- Method in interface org.ow2.carol.cmi.smart.api.
Message
Gets the OperationCode of this message.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ClassAnswer
Gets the Operation Code of this answer.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ClassNotFound
Gets the OperationCode of this message.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ClassRequest
Gets the OperationCode of this message.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameAnswer
Gets the Operation Code of this answer.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
FactoryNameRequest
Gets the Operation Code of this answer.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Gets the Operation Code of this answer.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsRequest
Gets the OperationCode of this message.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Gets the Operation Code of this answer.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceNotFound
Gets the OperationCode of this message.
getOperationCode()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceRequest
Gets the OperationCode of this message.
getPort(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Get the port number of given url.
getProviderURLs(String)
- Method in class org.ow2.carol.cmi.smart.client.
SmartClassLoader
Get the list of available provider urls with the given protocol.
getProviderURLs()
- Method in class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Get the list of provider url.
getResourceName()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Gets the name of this resource.
getResourceName()
- Method in class org.ow2.carol.cmi.smart.message.
ResourceRequest
Gets the class name of this message.
getWrappedFactoryName(String)
- Method in class org.ow2.carol.cmi.smart.client.
SmartClassLoader
Get the factory name with the given protocol.
H
HEADER_SIZE
- Static variable in interface org.ow2.carol.cmi.smart.api.
Message
Header.
I
INITIAL_PROVIDER_URLS
- Static variable in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Property name for defining the initial provider URLs.
INT_BYTE_SIZE
- Static variable in interface org.ow2.carol.cmi.smart.api.
Message
Size to store an int in bytes.
L
list(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
list(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
listBindings(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
listBindings(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
lookup(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Retrieves the named object.
lookup(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Retrieves the named object.
lookupLink(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Retrieves the named object, following links except for the terminal atomic component of the name.
lookupLink(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Retrieves the named object, following links except for the terminal atomic component of the name.
M
Message
- Interface in
org.ow2.carol.cmi.smart.api
All messages needs to implement this interface.
O
Operations
- Interface in
org.ow2.carol.cmi.smart.api
Describes all protocol's value used to exchange messages.
org.ow2.carol.cmi.smart.api
- package org.ow2.carol.cmi.smart.api
org.ow2.carol.cmi.smart.client
- package org.ow2.carol.cmi.smart.client
org.ow2.carol.cmi.smart.message
- package org.ow2.carol.cmi.smart.message
org.ow2.carol.cmi.smart.server
- package org.ow2.carol.cmi.smart.server
org.ow2.carol.cmi.smart.spi
- package org.ow2.carol.cmi.smart.spi
P
PROVIDER_URLS_ANSWER
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Server answering for a provider url.
PROVIDER_URLS_REQUEST
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Client asking for a provider url.
ProviderURLsAnswer
- Class in
org.ow2.carol.cmi.smart.message
Server sends the list of provider urls to client.
ProviderURLsAnswer(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Create a new answer with the given buffer for the list of provider.
ProviderURLsAnswer(List<String>)
- Constructor for class org.ow2.carol.cmi.smart.message.
ProviderURLsAnswer
Create a new answer with the given list of provider url.
ProviderURLsRequest
- Class in
org.ow2.carol.cmi.smart.message
Client asks the list of available provider urls to server.
ProviderURLsRequest(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
ProviderURLsRequest
Builds a new message with the given protocol.
R
rebind(Name, Object)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Binds a name to an object, overwriting any existing binding.
rebind(String, Object)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Binds a name to an object, overwriting any existing binding.
removeFromEnvironment(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
rename(Name, Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Rename an object.
rename(String, String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Rename an object.
RESOURCE_ANSWER
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Server answering for a resource.
RESOURCE_NOT_FOUND
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Server answering for a resource that was not found.
RESOURCE_REQUEST
- Static variable in interface org.ow2.carol.cmi.smart.api.
Operations
Client asking for a resource.
ResourceAnswer
- Class in
org.ow2.carol.cmi.smart.message
Answer to the client with the content of the resource.
ResourceAnswer(String, byte[])
- Constructor for class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Builds a new answer with the given class name and the array of bytes.
ResourceAnswer(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ResourceAnswer
Builds a new answer with the given bytebuffer.
ResourceNotFound
- Class in
org.ow2.carol.cmi.smart.message
Send a resource not found message to client.
ResourceNotFound(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
ResourceNotFound
Create a new answer with the given resource name.
ResourceNotFound(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ResourceNotFound
Create a new answer with the given buffer.
ResourceRequest
- Class in
org.ow2.carol.cmi.smart.message
Client asks the resource.
ResourceRequest(String)
- Constructor for class org.ow2.carol.cmi.smart.message.
ResourceRequest
Builds a new message with the given name.
ResourceRequest(ByteBuffer)
- Constructor for class org.ow2.carol.cmi.smart.message.
ResourceRequest
Builds a message by using the data contains in the bytebuffer.
run()
- Method in class org.ow2.carol.cmi.smart.server.
SmartEndPoint
Start the thread for looking at the selectors.
S
sendRequest(Message, SocketChannel)
- Method in class org.ow2.carol.cmi.smart.client.
SmartClassLoader
Sends the given message on the given channel.
setPortNumber(int)
- Method in class org.ow2.carol.cmi.smart.server.
SmartEndPoint
Set the Port number.
setSmartConnector(SmartConnector)
- Method in class org.ow2.carol.cmi.smart.server.
SmartEndPoint
Set the smart connector.
SmartClassLoader
- Class in
org.ow2.carol.cmi.smart.client
ClassLoader that is used and that asks the remote server.
SmartClassLoader(String, int)
- Constructor for class org.ow2.carol.cmi.smart.client.
SmartClassLoader
Creates a new classloader.
SmartContext
- Class in
org.ow2.carol.cmi.smart.spi
Context that is used in the SmartFactory.
SmartContext(Context, ClassLoader)
- Constructor for class org.ow2.carol.cmi.smart.spi.
SmartContext
Create a new classloader with the given classloader and the wrapped context for delegation.
SmartContextFactory
- Class in
org.ow2.carol.cmi.smart.spi
Initial Context factory used on the client side.
SmartContextFactory()
- Constructor for class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Default constructor.
SmartEndPoint
- Class in
org.ow2.carol.cmi.smart.server
This class receives the request from clients, handle them and send an answer.
SmartEndPoint()
- Constructor for class org.ow2.carol.cmi.smart.server.
SmartEndPoint
SmartServerException
- Exception in
org.ow2.carol.cmi.smart.server
Exception thrown if there is a failure quand start Smart EndPoint.
SmartServerException()
- Constructor for exception org.ow2.carol.cmi.smart.server.
SmartServerException
Constructs a start Smart EndPoint exception with
null
as its detail message.
SmartServerException(String)
- Constructor for exception org.ow2.carol.cmi.smart.server.
SmartServerException
Constructs a new runtime exception with the specified detail message.
SmartServerException(String, Throwable)
- Constructor for exception org.ow2.carol.cmi.smart.server.
SmartServerException
Constructs a new runtime exception with the specified detail message and cause.
start()
- Method in class org.ow2.carol.cmi.smart.server.
SmartEndPoint
Start method.
stop()
- Method in class org.ow2.carol.cmi.smart.server.
SmartEndPoint
Stop method.
U
unbind(Name)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Unbinds the named object.
unbind(String)
- Method in class org.ow2.carol.cmi.smart.spi.
SmartContext
Unbinds the named object.
W
WRAPPED_INITIAL_CONTEXT_FACTORY
- Static variable in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Property name for defining the wrapped InitialContextFactory.
WRAPPED_PROTOCOL
- Static variable in class org.ow2.carol.cmi.smart.spi.
SmartContextFactory
Property name for defining the protocol.
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
U
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2008
OW2 Consortium
. All Rights Reserved.