com.starlight.intrepid.tools.Resources Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of intrepid Show documentation
Show all versions of intrepid Show documentation
A replacement for Java RMI (Remote Method Invocation) that allows for simpler and more transparent usage with more flexible control over session and security.
package com.starlight.intrepid.tools;
import com.starlight.locale.ResourceKey;
import com.starlight.locale.ResourceList;
import com.starlight.locale.TextResourceKey;
/**
*
*/
public class Resources extends ResourceList {
static final ResourceKey ERROR_ATTACHMENT_NOT_ID =
new TextResourceKey( "Attachment should be an ObjectDrop.ID" );
static final ResourceKey ERROR_UNKNOWN_ID =
new TextResourceKey( "Unknown ObjectDrop.ID {0}" );
static final ResourceKey ERROR_SLOT_FULL =
new TextResourceKey( "Slot already full for ObjectDrop.ID {0}" );
static final ResourceKey ERROR_DROP_INSTANCE_GCED =
new TextResourceKey( "ObjectDrop instance with ID {0} has been garbage " +
"collected. A strong reference should be held while drops can still be done." );
static final ResourceKey ERROR_DROP_INSTANCE_NOT_FOUND =
new TextResourceKey( "Unable to find ObjectDrop instance with ID {0} and no " +
"destination VMID was provided. Either the ID is out of date " +
"or a destination should have been provided." );
static final ResourceKey ERROR_DROP_WITH_VMID_BUT_NO_INSTANCE =
new TextResourceKey( "Destination VMID was non-null, but " +
"Intrepid instance was null. Please provide an instance with a " +
"connection to the specified VMID." );
static final ResourceKey ERROR_NO_SUITABLE_ACCEPTOR_FOUND =
new TextResourceKey( "No suitable ChannelAcceptor found." );
}