You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
658 B
23 lines
658 B
2 years ago
|
package com.fr.plugin.db.procedure.stableKey;
|
||
|
|
||
|
import com.fr.module.StableKey;
|
||
|
import com.fr.stable.fun.impl.AbstractStableKeyArgsProvider;
|
||
|
import com.fr.workspace.base.WorkspaceKey;
|
||
|
import com.fr.workspace.pool.WorkRPCRegister;
|
||
|
|
||
|
import java.util.Arrays;
|
||
|
import java.util.List;
|
||
|
|
||
|
public class DirectoryStableKey extends AbstractStableKeyArgsProvider<WorkRPCRegister<?>> {
|
||
|
|
||
|
@Override
|
||
|
protected List<WorkRPCRegister<?>> createArgs() {
|
||
|
return Arrays.asList( WorkRPCRegister.wrap(DirectoryAction.class, new DirectoryActionImpl()) );
|
||
|
}
|
||
|
@Override
|
||
|
public StableKey<WorkRPCRegister<?>> getKey() {
|
||
|
return WorkspaceKey.RPC;
|
||
|
}
|
||
|
|
||
|
}
|